borgbackup/tox.ini

36 lines
786 B
INI
Raw Permalink Normal View History

# tox configuration - if you change anything here, run this to verify:
# fakeroot -u tox --recreate
2013-06-24 07:53:02 -04:00
[tox]
2023-09-25 09:29:30 -04:00
envlist = py{38,39,310,311,312}-{none,fuse2,fuse3}
minversion = 3.2
requires =
pkgconfig
cython
wheel
setuptools_scm
2013-06-24 07:53:02 -04:00
[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 = *
2016-01-30 16:01:27 -05:00
[testenv:.pkg]
passenv = * # needed by tox4, so env vars are visible for building borg
2016-01-30 16:01:27 -05:00
[testenv:flake8]
skip_sdist=true
skip_install=true
2016-01-30 16:01:27 -05:00
changedir =
deps =
flake8
2016-11-14 15:50:20 -05:00
commands = flake8 src scripts conftest.py