squeaknode/tox.ini

24 lines
484 B
INI
Raw Normal View History

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
coverage run -m pytest -s {posargs:tests}
2020-12-28 23:52:32 -08:00
coverage report --show-missing
coverage html
coverage xml
2020-12-28 23:52:32 -08:00
pre-commit install -f --install-hooks
pre-commit run --all-files
# check-requirements
[testenv:setup]
basepython = python3.8
commands =
{envbindir}/python setup.py build_proto_modules