squeaknode/tox.ini
2020-12-28 23:52:32 -08:00

22 lines
464 B
INI

[tox]
envlist = py36,py37,py38
skip_missing_interpreters =
true
[testenv]
deps =
-rrequirements-dev.txt
-rrequirements.txt
commands =
coverage erase
coverage run -m pytest {posargs:tests}
coverage report --show-missing
coverage html
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