Commit d3885f25 authored by Sviatoslav Sydorenko's avatar Sviatoslav Sydorenko

Parallelize the test runs via pytest-xdist

Resolves #2458
parent 925b6be6
...@@ -4,6 +4,9 @@ addopts= ...@@ -4,6 +4,9 @@ addopts=
--doctest-modules --doctest-modules
--doctest-glob=pkg_resources/api_tests.txt --doctest-glob=pkg_resources/api_tests.txt
-r sxX -r sxX
# `pytest-xdist`:
-n auto
doctest_optionflags=ALLOW_UNICODE ELLIPSIS doctest_optionflags=ALLOW_UNICODE ELLIPSIS
# workaround for warning pytest-dev/pytest#6178 # workaround for warning pytest-dev/pytest#6178
junit_family=xunit2 junit_family=xunit2
......
...@@ -58,6 +58,7 @@ testing = ...@@ -58,6 +58,7 @@ testing =
paver paver
pip>=19.1 # For proper file:// URLs support. pip>=19.1 # For proper file:// URLs support.
jaraco.envs jaraco.envs
pytest-xdist
docs = docs =
# Keep these in sync with docs/requirements.txt # Keep these in sync with docs/requirements.txt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment