Skip to content

Commit

Permalink
Revert "Allow to have no parallel tests in pytest"
Browse files Browse the repository at this point in the history
This reverts commit 68cce96.
There is no need to do this, instead we should describe our own
tox env.
  • Loading branch information
evrardjp committed May 18, 2021
1 parent 6153da7 commit d75523d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ commands =
m8a-fetch-language-containers {envname}
# -n auto tells pytest to use as many processors as detected
# to run all the tests from the module test_{envname} in parallel
pytest -n auto -m "not serial" --suppress-no-test-exit-code test_{envname}.py --junitxml={toxinidir}/junit_parallel.xml []
pytest -n auto -m "not serial" test_{envname}.py --junitxml={toxinidir}/junit_parallel.xml []
pytest -n0 -m "serial" --suppress-no-test-exit-code test_{envname}.py --junitxml={toxinidir}/junit_serial.xml []

[testenv:unit]
Expand Down

0 comments on commit d75523d

Please sign in to comment.