borg/tox.ini

19 lines
493 B
INI

# tox configuration - if you change anything here, run this to verify:
# fakeroot -u tox --recreate
[tox]
envlist = py{35,36,37,38,39,310}
[testenv]
deps =
-rrequirements.d/development.lock.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 src scripts conftest.py