mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-03 13:45:31 +00:00
parallelizing tests via pytest-xdist
This commit is contained in:
parent
e61de12d6e
commit
853cfb703b
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
virtualenv<14.0
|
||||
tox
|
||||
pytest
|
||||
pytest-xdist
|
||||
pytest-cov
|
||||
pytest-benchmark
|
||||
Cython
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -12,7 +12,7 @@ deps =
|
|||
-rrequirements.d/development.txt
|
||||
-rrequirements.d/attic.txt
|
||||
-rrequirements.d/fuse.txt
|
||||
commands = py.test -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
||||
commands = py.test -n 8 -rs --cov=borg --cov-config=../.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
||||
# fakeroot -u needs some env vars:
|
||||
passenv = *
|
||||
|
||||
|
|
Loading…
Reference in a new issue