Skip to content

Commit

Permalink
Parallelize the test runs via pytest-xdist
Browse files Browse the repository at this point in the history
Resolves pypa#2458
  • Loading branch information
webknjaz committed Jan 17, 2021
1 parent 925b6be commit d3885f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ addopts=
--doctest-modules
--doctest-glob=pkg_resources/api_tests.txt
-r sxX

# `pytest-xdist`:
-n auto
doctest_optionflags=ALLOW_UNICODE ELLIPSIS
# workaround for warning pytest-dev/pytest#6178
junit_family=xunit2
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ testing =
paver
pip>=19.1 # For proper file:// URLs support.
jaraco.envs
pytest-xdist

docs =
# Keep these in sync with docs/requirements.txt
Expand Down

0 comments on commit d3885f2

Please sign in to comment.