File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,15 @@ commands =
2121
2222 ; Ensure the user manual Notebook runs *without errors* (do not check for regressions yet)
2323 ; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
24- pytest --verbose --maxfail =1 --nbval-lax docs/MuMoTuserManual.ipynb
24+ pytest --verbose --maxfail =1 --nbval-lax -- nbval-cell-timeout =120 docs/MuMoTuserManual.ipynb
2525
2626 ; Ensure test and demo Notebooks runs *without errors* (do not check for regressions yet)
2727 ; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
28- pytest --verbose --maxfail =1 --nbval-lax --cov-config =tox.ini --cov =" {envsitepackagesdir}/mumot" --cov-append $(find TestNotebooks DemoNotebooks -type f -name ' *.ipynb' )
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' )
2929
3030 ; Ensure the user manual and regression test Notebooks do not show regressions (TODO; leave commented)
3131 ; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
32- ; pytest --verbose --maxfail=1 --nbval --cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" --cov-append TestNotebooks/MuMoTtest.ipynb
32+ ; pytest --verbose --maxfail=1 --nbval --nbval-cell-timeout=120 -- cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" --cov-append TestNotebooks/MuMoTtest.ipynb
3333
3434 ; Check user manual does not contain output cells
3535 bash -c ' test $(nbshow --outputs docs/MuMoTuserManual.ipynb | wc -c) -eq 0'
You can’t perform that action at this time.
0 commit comments