mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-20 13:03:09 +00:00
e2fdf125b2
diff-cover is broken on Python 3.9: https://github.com/Bachmann1234/diff_cover/pull/140 once that is fixed we can re-enable this. Signed-off-by: Adam Williamson <awilliam@redhat.com>
22 lines
497 B
INI
22 lines
497 B
INI
[tox]
|
|
skipsdist = True
|
|
envlist = py37,py38
|
|
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
|
|
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
|
|
setenv =
|
|
PYTHONPATH = {toxinidir}
|