mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-24 00:37:56 +00:00
pytest-xdist: adjust parallelism, fixes #2053
it's either auto or env var XDISTN value.
This commit is contained in:
parent
32e58e88e6
commit
0a15530f9a
1 changed files with 1 additions and 1 deletions
2
tox.ini
2
tox.ini
|
@ -12,7 +12,7 @@ deps =
|
||||||
-rrequirements.d/development.txt
|
-rrequirements.d/development.txt
|
||||||
-rrequirements.d/attic.txt
|
-rrequirements.d/attic.txt
|
||||||
-rrequirements.d/fuse.txt
|
-rrequirements.d/fuse.txt
|
||||||
commands = py.test -n 8 -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
commands = py.test -n {env:XDISTN:auto} -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
||||||
# fakeroot -u needs some env vars:
|
# fakeroot -u needs some env vars:
|
||||||
passenv = *
|
passenv = *
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue