Skip to content
Snippets Groups Projects

[CI] add notebooks tests

Merged payno requested to merge add_ci_for_notebooks into master
1 file
+ 23
0
Compare changes
  • Side-by-side
  • Inline
+ 23
0
@@ -17,3 +17,26 @@ test:python3.5-stretch-pyqt5:
- python -m pip install -r requirements.txt
- python -m pip install .
- /usr/bin/xvfb-run --server-args="-screen 0 1024x768x24" -a id06workflow test -v
test:test-notebooks:
type: test
image: docker-registry.esrf.fr/dau/tomwer:python3.5_stretch_pyqt5
script:
- arch
- export PYTHONPATH="${PYTHONPATH}:/usr/lib/python3/dist-packages/"
- export LD_LIBRARY_PATH=/lib/x86_64-linux-gnu/:${LD_LIBRARY_PATH}
- export http_proxy=http://proxy.esrf.fr:3128/
- export https_proxy=http://proxy.esrf.fr:3128/
- python --version
- python -m pip install pip --upgrade
- python -m pip install setuptools --upgrade
- python -m pip install numpy --upgrade
- python -m pip install matplotlib
- python -m pip install jupyter_client
- python -m pip install nbconvert
- python -m pip install -r requirements.txt
- python -m pip install .
- python -m pip install ipykernel
- python -m ipykernel install --user
- jupyter nbconvert --to notebook --execute doc/tutorials/id06workflow_operations.ipynb
Loading