Skip to content

Commit

Permalink
Use current Python for coverage instead of oldest available
Browse files Browse the repository at this point in the history
  • Loading branch information
rmartin16 committed Mar 4, 2024
1 parent 976f6ad commit 2c05ea2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -48,7 +48,6 @@ skip_install = True
# by default, coverage should run on oldest supported Python for testing platform coverage.
# however, coverage for a particular Python version should match the version used for pytest.
base_python =
coverage: py38,py39,py310,py311,py312,py313
coverage38: py38
coverage39: py39
coverage310: py310
Expand All @@ -62,6 +61,7 @@ setenv =
CORE_RCFILE = --rcfile {tox_root}{/}core{/}pyproject.toml
PROJECT_RCFILE = --rcfile {tox_root}{/}pyproject.toml
commands =
python --version
-python -m coverage combine {env:CORE_RCFILE} {env:COMBINE_KEEP}
html: python -m coverage html {env:PROJECT_RCFILE} --skip-covered --skip-empty
python -m coverage report {env:PROJECT_RCFILE} {env:REPORT_FAIL_COND}
Expand Down

0 comments on commit 2c05ea2

Please sign in to comment.