Skip to content

Add inspection effectiveness #372

Add inspection effectiveness

Add inspection effectiveness #372

Workflow file for this run

name: Example Notebooks
on:
push:
branches:
- main
pull_request:
jobs:
run-notebooks:
runs-on: ubuntu-20.04
strategy:
matrix:
python-version:
- "3.9"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install
run: |
python -m pip install --upgrade pip
pip install .
pip install jupyter nbconvert matplotlib seaborn
- name: Command line example test
run: |
jupyter nbconvert --execute --to notebook --inplace examples/notebooks/basic_with_command_line.ipynb
# No traceback (generated by a subprocess) should be in the file.
if grep --after-context=15 Traceback examples/notebooks/basic_with_command_line.ipynb; then
exit 1
fi
- name: Pure Python notebooks
run: |
jupyter nbconvert --execute --to notebook --inplace examples/notebooks/contaminant_clustering.ipynb
jupyter nbconvert --execute --to notebook --inplace examples/notebooks/prob_distributions.ipynb
jupyter nbconvert --execute --to notebook --inplace examples/notebooks/scenario_plots.ipynb