1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-21 01:43:09 +00:00
os-autoinst-distri-fedora/tox.ini
Adam Williamson b5ad24c3fc Update list of Python versions to test (tox.ini and CI config)
3.7 is EOL and not in F40, 3.12 is the latest stable.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-07-17 08:55:17 -07:00

31 lines
770 B
INI

[tox]
skipsdist = True
envlist = py38,py39,py310,py311,py312,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}