2015-07-13 16:45:49 +00:00
|
|
|
# tox configuration - if you change anything here, run this to verify:
|
|
|
|
# fakeroot -u tox --recreate
|
|
|
|
|
2013-06-24 11:53:02 +00:00
|
|
|
[tox]
|
2021-02-16 18:07:50 +00:00
|
|
|
envlist = py{36,37,38,39,310}-{none,fuse2,fuse3}
|
2013-06-24 11:53:02 +00:00
|
|
|
|
|
|
|
[testenv]
|
2015-10-01 04:51:19 +00:00
|
|
|
deps =
|
2020-10-10 21:12:47 +00:00
|
|
|
-rrequirements.d/development.txt
|
2019-04-03 15:12:06 +00:00
|
|
|
commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
|
2015-07-13 16:45:49 +00:00
|
|
|
# fakeroot -u needs some env vars:
|
|
|
|
passenv = *
|
2016-01-30 21:01:27 +00:00
|
|
|
|
2020-10-10 21:12:47 +00:00
|
|
|
[testenv:py{36,37,38,39}-fuse2]
|
|
|
|
setenv =
|
|
|
|
BORG_FUSE_IMPL=llfuse
|
|
|
|
deps =
|
|
|
|
llfuse
|
|
|
|
{[testenv]deps}
|
|
|
|
|
|
|
|
[testenv:py{36,37,38,39}-fuse3]
|
|
|
|
setenv =
|
|
|
|
BORG_FUSE_IMPL=pyfuse3
|
|
|
|
deps =
|
|
|
|
pyfuse3
|
|
|
|
{[testenv]deps}
|
|
|
|
|
2016-01-30 21:01:27 +00:00
|
|
|
[testenv:flake8]
|
|
|
|
changedir =
|
2019-03-13 04:40:25 +00:00
|
|
|
deps =
|
|
|
|
flake8
|
|
|
|
pkgconfig
|
2016-11-14 20:50:20 +00:00
|
|
|
commands = flake8 src scripts conftest.py
|