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
|
virtualenv<14.0
|
||||||
tox
|
tox
|
||||||
pytest
|
pytest
|
||||||
|
pytest-xdist
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-benchmark
|
pytest-benchmark
|
||||||
Cython
|
Cython
|
||||||
|
|
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 -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:
|
# fakeroot -u needs some env vars:
|
||||||
passenv = *
|
passenv = *
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue