Run tests in parallel via tox
This commit is contained in:
parent
33e1518cc7
commit
f80de2152c
7
tox.ini
7
tox.ini
@ -9,11 +9,16 @@ env_list =
|
|||||||
[testenv]
|
[testenv]
|
||||||
deps =
|
deps =
|
||||||
numpy
|
numpy
|
||||||
|
pytest-sugar
|
||||||
extras =
|
extras =
|
||||||
tests
|
tests
|
||||||
commands =
|
commands =
|
||||||
{envpython} selftest.py
|
{envpython} selftest.py
|
||||||
{envpython} -m pytest -W always {posargs}
|
{envpython} -m pytest \
|
||||||
|
--dist worksteal \
|
||||||
|
--numprocesses auto \
|
||||||
|
-W always \
|
||||||
|
{posargs}
|
||||||
|
|
||||||
[testenv:lint]
|
[testenv:lint]
|
||||||
skip_install = true
|
skip_install = true
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user