mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
586f091eeb
Signed-off-by: d9pouces <github@19pouces.net>
28 lines
691 B
INI
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
|