borgmatic/tox.ini

38 lines
699 B
INI
Raw Permalink Normal View History

[tox]
envlist = py37,py38,py39,py310
2019-05-14 19:19:56 +00:00
skip_missing_interpreters = True
skipsdist = True
minversion = 3.14.1
[testenv]
usedevelop = True
deps = -rtest_requirements.txt
whitelist_externals =
find
sh
passenv = COVERAGE_FILE
commands =
2019-05-19 21:53:32 +00:00
pytest {posargs}
2022-02-10 18:23:34 +00:00
py38,py39,py310: black --check .
isort --check-only --settings-path setup.cfg .
flake8 borgmatic tests
[testenv:black]
commands =
black {posargs} .
2019-05-19 11:07:18 +00:00
[testenv:test]
commands =
pytest {posargs}
[testenv:end-to-end]
deps = -rtest_requirements.txt
passenv = COVERAGE_FILE
commands =
pytest {posargs} --no-cov tests/end-to-end
[testenv:isort]
deps = {[testenv]deps}
commands =
isort --settings-path setup.cfg .