File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,22 @@ whitelist_externals =
1212 test
1313 wc
1414 make
15+ xargs
16+ find
1517commands =
1618 ; Ensure ipywidgets Jupyter extension is installed
1719 jupyter nbextension enable --py --sys-prefix widgetsnbextension
1820
1921 ; Run unit tests and generate code coverage report
2022 pytest --verbose --cov-config =tox.ini --cov =" {envsitepackagesdir}/mumot" tests
2123
22- ; Ensure the user manual Notebook runs *without errors* (do not check for regressions yet)
24+ ; Ensure user manual, test and demo Notebooks run *without errors* (do not check for regressions yet)
2325 ; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
24- pytest --verbose --maxfail =1 --nbval-lax --nbval-cell-timeout =120 docs/MuMoTuserManual.ipynb
25-
26- ; Ensure test and demo Notebooks runs *without errors* (do not check for regressions yet)
27- ; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
28- pytest --verbose -- maxfail =1 --nbval-lax -- nbval-cell-timeout =120 -- cov-config =tox.ini -- cov = " {envsitepackagesdir}/mumot " --cov-append $(find TestNotebooks DemoNotebooks -type f -name ' *.ipynb ' )
26+ pytest --verbose --maxfail =1 --nbval-lax --nbval-cell-timeout =120 -- cov-config =tox.ini -- cov = " {envsitepackagesdir}/mumot " --cov-append \
27+ docs/*.ipynb \
28+ TestNotebooks/*.ipynb \
29+ TestNotebooks/MiscTests/*.ipynb \
30+ DemoNotebooks/*
2931
3032 ; Ensure the user manual and regression test Notebooks do not show regressions (TODO; leave commented)
3133 ; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
You can’t perform that action at this time.
0 commit comments