From e1b602cf72f0f314c0da871144efc87543b50929 Mon Sep 17 00:00:00 2001 From: Will Furnass Date: Tue, 1 Oct 2019 15:33:06 +0100 Subject: [PATCH] Increase cell execution timeout from 120s to 240s (for MuMoTtest_MasterEq.ipynb) --- tox.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tox.ini b/tox.ini index aede90d..335e7a2 100644 --- a/tox.ini +++ b/tox.ini @@ -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=240 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=240 \ --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=240 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=240 --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'