Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fdec065d authored by hhakim's avatar hhakim
Browse files

Add doctest verification in pages ci job.

parent 17f71064
No related branches found
No related tags found
No related merge requests found
...@@ -291,6 +291,10 @@ pages: ...@@ -291,6 +291,10 @@ pages:
# test that the doc generation works well (at least that html files for the pyfaust and matfaust namespaces exist) # test that the doc generation works well (at least that html files for the pyfaust and matfaust namespaces exist)
# in order to avoid publishing an empty API doc # in order to avoid publishing an empty API doc
- if [ ! -r doc/html/namespacepyfaust.html -o ! -r doc/html/namespacematfaust.html ]; then echo "error with doxygen doc generation" 2>&1 && exit 1; fi - if [ ! -r doc/html/namespacepyfaust.html -o ! -r doc/html/namespacematfaust.html ]; then echo "error with doxygen doc generation" 2>&1 && exit 1; fi
# verify the pyfaust root with doctest (no go on failure)
- cd wrapper/python
- if ! python3 -m doctest -v pyfaust/__init__.py; then echo "error with doctest verification of pyfaust doc" 2>&1 && exit 2;fi
- cd ../..
- mkdir -p ../public/last-doc - mkdir -p ../public/last-doc
- cp -Rf doc/html ../public/last-doc/ - cp -Rf doc/html ../public/last-doc/
- mkdir -p ../public/packages - mkdir -p ../public/packages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment