Skip to content

Commit

Permalink
Use all available cores for pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
scasagrande committed Nov 16, 2020
1 parent 000c5d6 commit f82847c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tox.ini
Expand Up @@ -5,8 +5,9 @@ envlist = py36,py37,py38,py39,pylint
deps =
-rdev-requirements.txt
pytest-cov
pytest-xdist
coverage
commands = pytest --cov=instruments {toxinidir}/instruments/tests/ {posargs:}
commands = pytest -n auto --cov=instruments {toxinidir}/instruments/tests/ {posargs:}

[testenv:pylint]
basepython = python3
Expand Down

0 comments on commit f82847c

Please sign in to comment.