2020-02-22 19:59:29 -08:00
|
|
|
[tox]
|
2020-07-18 04:38:10 -07:00
|
|
|
envlist = py36,py37,py38
|
|
|
|
|
skip_missing_interpreters =
|
|
|
|
|
true
|
2020-02-22 19:59:29 -08:00
|
|
|
|
|
|
|
|
[testenv]
|
|
|
|
|
deps =
|
2020-12-28 23:52:32 -08:00
|
|
|
-rrequirements-dev.txt
|
|
|
|
|
-rrequirements.txt
|
2020-02-22 19:59:29 -08:00
|
|
|
commands =
|
2020-12-28 23:52:32 -08:00
|
|
|
coverage erase
|
2021-10-04 00:48:46 -07:00
|
|
|
coverage run -m pytest -s {posargs:tests}
|
2020-12-28 23:52:32 -08:00
|
|
|
coverage report --show-missing
|
|
|
|
|
coverage html
|
2021-12-29 19:18:13 -08:00
|
|
|
coverage xml
|
2020-12-28 23:52:32 -08:00
|
|
|
pre-commit install -f --install-hooks
|
|
|
|
|
pre-commit run --all-files
|
|
|
|
|
# check-requirements
|
2020-12-26 02:01:22 -08:00
|
|
|
|
2020-12-26 05:29:02 -08:00
|
|
|
[testenv:setup]
|
|
|
|
|
basepython = python3.8
|
|
|
|
|
commands =
|
|
|
|
|
{envbindir}/python setup.py build_proto_modules
|