mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 15:23:08 +00:00
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.
This commit is contained in:
parent
fa94d92433
commit
5ed8e33b75
4
tox.ini
4
tox.ini
@ -16,7 +16,7 @@ commands=
|
|||||||
./check-needles.py
|
./check-needles.py
|
||||||
py.test unittests/
|
py.test unittests/
|
||||||
py.test --cov-report term-missing --cov-report xml --cov fifloader unittests/
|
py.test --cov-report term-missing --cov-report xml --cov fifloader unittests/
|
||||||
diff-cover coverage.xml --fail-under=90
|
diff-cover coverage.xml --fail-under=90 --compare-branch=origin/master
|
||||||
diff-quality --violations=pylint --fail-under=90
|
diff-quality --violations=pylint --fail-under=90 --compare-branch=origin/master
|
||||||
setenv =
|
setenv =
|
||||||
PYTHONPATH = {toxinidir}
|
PYTHONPATH = {toxinidir}
|
||||||
|
Loading…
Reference in New Issue
Block a user