summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2018-07-16 14:53:11 +0200
committerMichał Górny <mgorny@gentoo.org>2018-07-16 14:53:11 +0200
commit83c7d51ba45d362f344d0ec0d680604bdfa71121 (patch)
tree94af6a62e5f8da503adbbf23f7f2552c8930216d /tox.ini
parent068ae4e6aaf33bbb34afc390276255dc694438ef (diff)
downloadgemato-83c7d51ba45d362f344d0ec0d680604bdfa71121.tar.gz
tox: Use pytest-xdist for concurrent testing
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9ed954b..0a15b18 100644
--- a/tox.ini
+++ b/tox.ini
@@ -21,12 +21,14 @@ basepython = python2.7
deps =
coverage
pytest
+ pytest-xdist
py27,py34,py35,pypy: pyblake2
py27,py34,py35,pypy: pysha3
py27,pypy: backports.lzma!=0.0.9
py27,pypy: bz2file
incompatible-lzma: pyliblzma
-commands = coverage run --concurrency=multiprocessing -p -m pytest -vv {posargs}
+commands =
+ coverage run --concurrency=multiprocessing -p -m pytest -vv -n auto {posargs}
[testenv:end]
deps =