mirror of
https://github.com/d9pouces/id_configurator.git
synced 2026-11-09 01:47:21 +01:00
27 lines
553 B
INI
27 lines
553 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 = {tox_root}/.coverage.{env_name}
|
|
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 = {tox_root}/.coverage
|
|
commands =
|
|
coverage combine
|
|
coverage report
|