summaryrefslogtreecommitdiff
path: root/tox.ini
blob: f23ae78d28ef2644b8b76648aacbefb8aeb2a935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# tox configuration - if you change anything here, run this to verify:
# fakeroot -u tox --recreate

[tox]
envlist = py{38,39,310}-{none,fuse2,fuse3}
minversion = 3.2
requires =
	pkgconfig
	cython
	wheel
	setuptools_scm
[testenv]
setenv =
   fuse2: BORG_FUSE_IMPL=llfuse
   fuse3: BORG_FUSE_IMPL=pyfuse3
deps =
    fuse2: llfuse
    fuse3: pyfuse3
    -rrequirements.d/development.txt
commands = py.test -v -n {env:XDISTN:1} -rs --cov=borg --cov-config=.coveragerc --benchmark-skip --pyargs {posargs:borg.testsuite}
# fakeroot -u needs some env vars:
passenv = *


[testenv:flake8]
skip_sdist=true
skip_install=true
changedir =
deps =
    flake8
commands = flake8 src scripts conftest.py