2022-01-05 23:20:28 +00:00
|
|
|
[tox]
|
2022-01-06 04:25:58 +00:00
|
|
|
envlist = py3
|
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"}
|
|
|
|
# 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}
|