mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-25 17:27:31 +00:00
18 lines
482 B
INI
18 lines
482 B
INI
# tox configuration - if you change anything here, run this to verify:
|
|
# fakeroot -u tox --recreate
|
|
|
|
[tox]
|
|
envlist = py{36,37},flake8
|
|
|
|
[testenv]
|
|
deps =
|
|
-rrequirements.d/development.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
|