Commit 55bb91da authored by Marco Stronati's avatar Marco Stronati Committed by Grégoire Henry

CI/Makefile: decouple test for linkcheck to allow it to fail

parent b7b6f0e9
Pipeline #26424250 passed with stages
in 18 minutes and 43 seconds
......@@ -172,6 +172,15 @@ test:documentation:
- sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build
- make doc-html
test:linkcheck:
<<: *test_definition
script:
- sudo apk add --no-cache py3-sphinx py3-sphinx_rtd_theme
- sudo pip3 uninstall 'idna' --yes ## Fix up dependencies in alpine:3.8
- sudo pip3 install 'idna<2.7'
- sudo ln -s /usr/bin/sphinx-build-3 /usr/bin/sphinx-build
- make doc-linkcheck
allow_failure: true
############################################################
......
......@@ -56,7 +56,10 @@ doc-html: all
@mkdir -p $$(pwd)/docs/_build/api/odoc
@rm -rf $$(pwd)/docs/_build/api/odoc/*
@cp -r $$(pwd)/_build/default/_doc/* $$(pwd)/docs/_build/api/odoc/
@${MAKE} -C docs
@${MAKE} -C docs html
doc-linkcheck:
@${MAKE} -C docs linkcheck
build-test:
@dune build @buildtest
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment