Skip to content

Commit 338c8eb

Browse files
committed
DevOps: Move rereruns to parameters that can be overwritten.
The reruns option cannot be used with debug mode, so this command `tox -e tests-lab-3 -- --pdb` overwrites the reruns option
1 parent e025b01 commit 338c8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ deps =
4242
commands =
4343
# converts the python files to ipython notebooks
4444
jupytext tests/notebooks/*.py --to ipynb
45-
pytest {posargs:-v} --reruns 2 --driver Firefox
45+
pytest {posargs:-v --reruns 2} --driver Firefox
4646

4747
[testenv:tests-lab-4]
4848
description =
@@ -75,7 +75,7 @@ deps =
7575
commands =
7676
# converts the python files to ipython notebooks
7777
jupytext tests/notebooks/*.py --to ipynb
78-
pytest {posargs:-v} -m "not matplotlib" --reruns 2 --driver Firefox
78+
pytest {posargs:-v --reruns 2} -m "not matplotlib" --driver Firefox
7979

8080
[testenv:coverage]
8181
# We do coverage in a separate environment that skips the selenium tests but

0 commit comments

Comments
 (0)