diff --git a/tox.ini b/tox.ini index ad377782e..bf9617919 100644 --- a/tox.ini +++ b/tox.ini @@ -38,7 +38,7 @@ commands = python -m coverage erase python -m coverage run -m pytest \ --junitxml {toxworkdir}/junit.{envname}.xml \ - {posargs:tests --int --timeout 600 -n 0} + {posargs:tests --int --timeout 600 -n {env:PYTEST_XDIST:auto}} python -m coverage combine python -m coverage report --skip-covered --show-missing python -m coverage xml -o {toxworkdir}/coverage.{envname}.xml