mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 16:26:29 +00:00
0e1f050440
auto does not produce enough load, e.g. on freebsd64 vagrant VM, cpu is 80-90% idle (1 core == 1 parallel tox worker).
22 lines
663 B
INI
22 lines
663 B
INI
# tox configuration - if you change anything here, run this to verify:
|
|
# fakeroot -u tox --recreate
|
|
|
|
[tox]
|
|
envlist = py{34,35,36},flake8
|
|
|
|
[testenv]
|
|
# Change dir to avoid import problem for cython code. The directory does
|
|
# not really matter, should be just different from the toplevel dir.
|
|
changedir = {toxworkdir}
|
|
deps =
|
|
-rrequirements.d/development.txt
|
|
-rrequirements.d/attic.txt
|
|
-rrequirements.d/fuse.txt
|
|
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:
|
|
passenv = *
|
|
|
|
[testenv:flake8]
|
|
changedir =
|
|
deps = flake8
|
|
commands = flake8
|