Skip to content

Commit e1b602c

Browse files
committed
Increase cell execution timeout from 120s to 240s (for MuMoTtest_MasterEq.ipynb)
1 parent 383f413 commit e1b602c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tox.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,20 @@ 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 --nbval-cell-timeout=120 docs/MuMoTuserManual.ipynb
24+
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=240 docs/MuMoTuserManual.ipynb
2525

2626
; Ensure test Notebooks run *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 --nbval-cell-timeout=120 \
28+
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=240 \
2929
--cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" TestNotebooks
3030

3131
; Ensure demo Notebooks run *without errors* (do not check for regressions yet)
3232
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
33-
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=120 DemoNotebooks
33+
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=240 DemoNotebooks
3434

3535
; Ensure the main regression test Notebook does not show regressions (TODO; leave commented)
3636
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
37-
; pytest --verbose --maxfail=1 --nbval --nbval-cell-timeout=120 --cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" --cov-append TestNotebooks/MuMoTtest.ipynb
37+
; pytest --verbose --maxfail=1 --nbval --nbval-cell-timeout=240 --cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" --cov-append TestNotebooks/MuMoTtest.ipynb
3838

3939
; Check user manual does not contain output cells
4040
bash -c 'test $(nbshow --outputs docs/MuMoTuserManual.ipynb | wc -c) -eq 0'

0 commit comments

Comments
 (0)