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
|
||||
py.test unittests/
|
||||
py.test --cov-report term-missing --cov-report xml --cov fifloader unittests/
|
||||
diff-cover coverage.xml --fail-under=90
|
||||
diff-quality --violations=pylint --fail-under=90
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user