release-gitter/tox.ini

18 lines
348 B
INI
Raw Normal View History

2022-01-05 23:20:28 +00:00
[tox]
envlist = py3,py37,py38,py39
2022-01-05 23:20:28 +00:00
[testenv]
deps =
-rrequirements-dev.txt
commands =
coverage erase
coverage run --source=release_gitter -m unittest discover . {posargs:"*_test.py"}
coverage report -m # --fail-under 70
2022-01-05 23:20:28 +00:00
pre-commit run --all-files
[testenv:pre-commit]
deps =
pre-commit
commands =
pre-commit {posargs}