mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 08:16:54 +00:00
pytest -n 4 as default (4 parallel workers)
auto does not produce enough load, e.g. on freebsd64 vagrant VM, cpu is 80-90% idle (1 core == 1 parallel tox worker).
This commit is contained in:
parent
c716df4ce6
commit
0e1f050440
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 {env:XDISTN:auto} -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
commands = py.test -n {env:XDISTN:4} -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