Skip to content

Commit

Permalink
Increase cell execution timeout from 120s to 600s (for MuMoTtest_Mast…
Browse files Browse the repository at this point in the history
…erEq.ipynb)
  • Loading branch information
willfurnass committed Oct 1, 2019
1 parent 383f413 commit 9dc2d32
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@ commands =

; Ensure the user manual Notebook runs *without errors* (do not check for regressions yet)
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=120 docs/MuMoTuserManual.ipynb
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=600 docs/MuMoTuserManual.ipynb

; Ensure test Notebooks run *without errors* (do not check for regressions yet)
; (add --nbdime if running tox locally and want to visualise/explore diffs in web browser)
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=120 \
pytest --verbose --maxfail=1 --nbval-lax --nbval-cell-timeout=600 \
--cov-config=tox.ini --cov="{envsitepackagesdir}/mumot" TestNotebooks

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

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

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

0 comments on commit 9dc2d32

Please sign in to comment.