extend tox coverage to Python 3.12

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
This commit is contained in:
Brian S. Stephan 2024-09-30 09:57:25 -05:00
parent f058727f34
commit 783a0f08dd
Signed by: bss
GPG Key ID: 3DE06D3180895FCB

View File

@ -5,7 +5,7 @@
[tox] [tox]
isolated_build = true isolated_build = true
envlist = begin,py39,py310,py311,coverage,bandit,lint,reuse envlist = begin,py39,py310,py311,py312,coverage,bandit,lint,reuse
[testenv] [testenv]
allow_externals = pytest, coverage allow_externals = pytest, coverage
@ -33,6 +33,11 @@ commands =
commands = commands =
pytest --cov-append --cov={envsitepackagesdir}/gp2040ce_bintools/ --cov-branch pytest --cov-append --cov={envsitepackagesdir}/gp2040ce_bintools/ --cov-branch
[testenv:py312]
# run pytest with coverage
commands =
pytest --cov-append --cov={envsitepackagesdir}/gp2040ce_bintools/ --cov-branch
[testenv:coverage] [testenv:coverage]
# report on coverage runs from above # report on coverage runs from above
skip_install = true skip_install = true