Test juypter notebook.
@@ -14,7 +14,7 @@ jobs:
export DEBIAN_FRONTEND=noninteractive && \
echo 'debconf debconf/frontend select Noninteractive' | sudo debconf-set-selections && \
sudo apt-get update && \
- sudo apt-get install -yq --no-install-recommends python3.7 python3.7-dev python3-setuptools dialog apt-utils tshark && \
+ sudo apt-get install -yq --no-install-recommends python3.7 python3.7-dev python3-setuptools dialog apt-utils tshark jupyter && \
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.6 1 && \
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 2 && \
pip3 install -U pip && \
@@ -23,7 +23,9 @@ jobs:
find . -name test-requirements.txt -type f -exec pip3 install -r {} \; && \
pip3 install . && \
export PATH=/home/runner/.local/bin:$PATH && \
- pytype . && pytest -l -s -n 2 -v --cov=tests/ --cov=networkml/ --cov-report term-missing -c .coveragerc && coverage report && coverage xml
+ pytype . && pytest -l -s -n 2 -v --cov=tests/ --cov=networkml/ --cov-report term-missing -c .coveragerc && coverage report && coverage xml && \
+ jupyter nbconvert --ExecutePreprocessor.timeout=300 --to notebook --execute notebooks/networkml_exploration.ipynb
+
- name: Test make
run: |
export POSEIDON_PUBLIC_SESSIONS=1 && \
