2022-01-05 23:20:28 +00:00
|
|
|
[tox]
|
2022-09-01 19:29:10 +00:00
|
|
|
envlist = py3,py37,py38,py39,py310
|
2022-01-05 23:20:28 +00:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
-rrequirements-dev.txt
|
|
|
|
commands =
|
|
|
|
coverage erase
|
2022-01-06 04:25:58 +00:00
|
|
|
coverage run --source=release_gitter -m unittest discover . {posargs:"*_test.py"}
|
2022-01-10 19:50:45 +00:00
|
|
|
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}
|