Run tests in parallel via tox

This commit is contained in:
Hugo van Kemenade 2026-03-27 19:45:15 +02:00
parent 33e1518cc7
commit f80de2152c

View File

@ -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