Files
id_configurator/tox.ini
T
2026-09-02 06:58:20 +02:00

28 lines
691 B
INI

[tox]
env_list = py313,py314,coverage
isolated_build = true
requires =
tox>=4
tox-uv>=1
[testenv]
package = wheel
dependency_groups = test
change_dir = {env_tmp_dir}
set_env =
COVERAGE_FILE = {toxworkdir}/coverage/coverage.db
commands =
pytest {tox_root}/tests --cov-config={tox_root}/pyproject.toml --cov-fail-under=0 {posargs}
[testenv:coverage]
package = skip
depends = py313,py314
change_dir = {tox_root}
dependency_groups = test
set_env =
COVERAGE_FILE = {toxworkdir}/coverage/coverage.db
commands =
python3 -m coverage combine
python3 -m coverage xml -o .tox/coverage.xml --ignore
python3 -m coverage report -m --fail-under=94 --ignore --skip-covered