From 83c7d51ba45d362f344d0ec0d680604bdfa71121 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Mon, 16 Jul 2018 14:53:11 +0200 Subject: tox: Use pytest-xdist for concurrent testing --- tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tox.ini') 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 = -- cgit v1.2.3