Skip to content

Commit b5bc5ac

Browse files
authored
Merge branch 'master' into 325-find-test-nbs-with-wildcards
2 parents 87413ba + cc9b108 commit b5bc5ac

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tox.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)