Skip to content

Commit

Permalink
Parallelize pytest runs (#1357)
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Mar 20, 2021
1 parent ed58917 commit 37946f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ exclude = tests
testing =
pytest
pytest-rerunfailures
pytest-xdist
coverage = pytest-cov

[options.entry_points]
Expand All @@ -48,6 +49,9 @@ console_scripts =
pip-sync = piptools.scripts.sync:cli

[tool:pytest]
addopts =
# `pytest-xdist`:
--numprocesses=auto
norecursedirs = .* build dist venv test_data piptools/_compat/*
testpaths = tests piptools
filterwarnings =
Expand Down

0 comments on commit 37946f2

Please sign in to comment.