gvacommon/tox.ini

35 lines
565 B
INI

[tox]
env_list =
clean,py39,py310,py311,report
minversion = 4.6.4
[coverage:paths]
source =
gvacommon
[coverage:report]
omit =
gvacommon/tests/*
[testenv]
description = run the tests with pytest
package = wheel
wheel_build_env = .pkg
deps =
pytest>=6
pytest-cov
commands =
pytest --cov --cov-append --cov-report=term-missing {tty:--color=yes} {posargs}
[testenv:report]
deps = coverage
skip_install = true
commands =
coverage report -m
coverage html
[testenv:clean]
deps = coverage
skip_install = true
commands = coverage erase