Skip to content

Commit c9677d2

Browse files
committed
Use current Python for coverage instead of oldest available
1 parent 976f6ad commit c9677d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ skip_install = True
4848
# by default, coverage should run on oldest supported Python for testing platform coverage.
4949
# however, coverage for a particular Python version should match the version used for pytest.
5050
base_python =
51-
coverage: py38,py39,py310,py311,py312,py313
5251
coverage38: py38
5352
coverage39: py39
5453
coverage310: py310
@@ -61,6 +60,7 @@ setenv =
6160
fail: REPORT_FAIL_COND = --fail-under=100
6261
CORE_RCFILE = --rcfile {tox_root}{/}core{/}pyproject.toml
6362
PROJECT_RCFILE = --rcfile {tox_root}{/}pyproject.toml
63+
commands_pre = python --version
6464
commands =
6565
-python -m coverage combine {env:CORE_RCFILE} {env:COMBINE_KEEP}
6666
html: python -m coverage html {env:PROJECT_RCFILE} --skip-covered --skip-empty

0 commit comments

Comments
 (0)