1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 17:57:59 +00:00
borg/tox.ini
Thomas Waldmann 6c4bf43817 tox: add a non-fuse env to the envlist
without this, openbsd and openindiana (which both skip all ".*fuse.*" envs) would not run any tests.

on platforms that have fuse, skip the "none" envs to not execute duplicate tests.
2020-12-04 22:40:54 +01:00

33 lines
703 B
INI

# tox configuration - if you change anything here, run this to verify:
# fakeroot -u tox --recreate
[tox]
envlist = py{36,37,38,39}-{none,fuse2,fuse3}
[testenv]
deps =
-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: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}
[testenv:flake8]
changedir =
deps =
flake8
pkgconfig
commands = flake8 src scripts conftest.py