os-autoinst-distri-fedora/tox.ini
Adam Williamson 44ee704e90 Update tox and CI job Python versions
3.8 and 3.9 are EOL, 3.13 and 3.14 exist.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2026-01-07 10:51:55 -08:00

30 lines
772 B
INI

[tox]
skipsdist = True
envlist = py310,py311,py312,py313,py314,coverage-report
skip_missing_interpreters = true
[testenv]
ignore_errors = true
deps =
pytest
jsonschema
coverage
pytest-cov
commands=
python ./fifloader.py --clean templates.fif.json templates-updates.fif.json
python ./check-needles.py
py.test unittests/
py.test --cov-report term-missing --cov-report xml --cov fifloader unittests/
setenv =
PYTHONPATH = {toxinidir}
[testenv:coverage-report]
skip_install = true
ignore_errors = true
deps =
diff-cover
pylint
commands =
diff-cover coverage.xml --fail-under=90 --compare-branch=origin/main
diff-quality --violations=pylint --fail-under=90 --compare-branch=origin/main
setenv =
PYTHONPATH = {toxinidir}