mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 14:53:09 +00:00
57789300c5
We don't need a VM, container should be fine, and 'latest' means we don't have to keep bumping this as new releases come out. Signed-off-by: Adam Williamson <awilliam@redhat.com>
23 lines
607 B
INI
23 lines
607 B
INI
[tox]
|
|
skipsdist = True
|
|
envlist = py37,py38,py39,py310
|
|
skip_missing_interpreters = true
|
|
[testenv]
|
|
deps =
|
|
pytest
|
|
jsonschema
|
|
coverage
|
|
diff-cover
|
|
pylint
|
|
pytest-cov
|
|
|
|
commands=
|
|
python ./fifloader.py --clean templates.fif.json templates-updates.fif.json
|
|
python ./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}
|