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]
|
2022-04-09 23:18:13 +00:00
|
|
|
envlist = py{39,310,311}-{none,fuse2,fuse3}
|
2021-05-02 15:51:12 +00:00
|
|
|
minversion = 3.2
|
|
|
|
requires =
|
|
|
|
pkgconfig
|
|
|
|
cython
|
|
|
|
wheel
|
|
|
|
setuptools_scm
|
2013-06-24 11:53:02 +00:00
|
|
|
[testenv]
|
2021-05-02 15:51:12 +00:00
|
|
|
setenv =
|
|
|
|
fuse2: BORG_FUSE_IMPL=llfuse
|
|
|
|
fuse3: BORG_FUSE_IMPL=pyfuse3
|
2015-10-01 04:51:19 +00:00
|
|
|
deps =
|
2021-05-02 15:51:12 +00:00
|
|
|
fuse2: llfuse
|
|
|
|
fuse3: pyfuse3
|
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
|
|
|
|
2016-01-30 21:01:27 +00:00
|
|
|
[testenv:flake8]
|
2021-05-02 15:51:12 +00:00
|
|
|
skip_sdist=true
|
|
|
|
skip_install=true
|
2016-01-30 21:01:27 +00:00
|
|
|
changedir =
|
2019-03-13 04:40:25 +00:00
|
|
|
deps =
|
|
|
|
flake8
|
2016-11-14 20:50:20 +00:00
|
|
|
commands = flake8 src scripts conftest.py
|