mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-15 17:51:27 +00:00
5ed8e33b75
diff-cover now compares by default against origin/main, but the main branch is origin/master which makes the Zuul pipeline fail.
23 lines
587 B
INI
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}
|