1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-16 19:53:09 +00:00
os-autoinst-distri-fedora/tox.ini
Dan Čermák 5ed8e33b75
Specify branch to compare for diff-cover
diff-cover now compares by default against origin/main, but the main branch is
origin/master which makes the Zuul pipeline fail.
2021-07-21 11:02:03 +02:00

23 lines
587 B
INI

[tox]
skipsdist = True
envlist = py37,py38,py39
skip_missing_interpreters = true
[testenv]
deps =
pytest
jsonschema
coverage
diff-cover
pylint
pytest-cov
commands=
./fifloader.py --clean templates.fif.json templates-updates.fif.json
./check-needles.py
py.test unittests/
py.test --cov-report term-missing --cov-report xml --cov fifloader unittests/
diff-cover coverage.xml --fail-under=90 --compare-branch=origin/master
diff-quality --violations=pylint --fail-under=90 --compare-branch=origin/master
setenv =
PYTHONPATH = {toxinidir}