From ee9c976c162012b3f09854728e6c7bf7dadc686a Mon Sep 17 00:00:00 2001 From: payno Date: Wed, 12 Dec 2018 08:30:36 +0100 Subject: [PATCH] [CI] add notebooks tests --- .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 908c6af..3d6d95b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 -- GitLab