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:
Dan Čermák 2021-07-21 11:02:03 +02:00
parent fa94d92433
commit 5ed8e33b75
No known key found for this signature in database
GPG Key ID: 8F8C178E966641D3

View File

@ -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}