mirror of
https://github.com/fedora-python/tox-current-env.git
synced 2025-01-25 22:36:14 +01:00
Tests: Run tests in parallel with pytest-xdist
This commit is contained in:
parent
868482fd79
commit
b1b144e6be
4
tox.ini
4
tox.ini
@ -4,9 +4,13 @@ envlist = {py36,py37,py38}-tox{35,release,master}
|
|||||||
[testenv]
|
[testenv]
|
||||||
deps=
|
deps=
|
||||||
pytest
|
pytest
|
||||||
|
pytest-xdist
|
||||||
packaging
|
packaging
|
||||||
tox35: tox >=3.5,<3.6
|
tox35: tox >=3.5,<3.6
|
||||||
toxrelease: tox
|
toxrelease: tox
|
||||||
toxmaster: git+https://github.com/tox-dev/tox.git@master
|
toxmaster: git+https://github.com/tox-dev/tox.git@master
|
||||||
commands =
|
commands =
|
||||||
pytest -v {posargs} tests
|
pytest -v {posargs} tests
|
||||||
|
|
||||||
|
[pytest]
|
||||||
|
addopts = -nauto
|
||||||
|
Loading…
Reference in New Issue
Block a user