mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
tox: set ignore_errors
This doesn't actually *ignore* errors, it just means we continue running commands after one errors out instead of immediately bailing. This avoids problems like "the tests don't run if check-needles fails, so then the coverage reports fail because there's no coverage.xml". Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
8cb8836d3f
commit
93a58c5496
2
tox.ini
2
tox.ini
@ -3,6 +3,7 @@ skipsdist = True
|
|||||||
envlist = py37,py38,py39,py310,py311,coverage-report
|
envlist = py37,py38,py39,py310,py311,coverage-report
|
||||||
skip_missing_interpreters = true
|
skip_missing_interpreters = true
|
||||||
[testenv]
|
[testenv]
|
||||||
|
ignore_errors = true
|
||||||
deps =
|
deps =
|
||||||
pytest
|
pytest
|
||||||
jsonschema
|
jsonschema
|
||||||
@ -18,6 +19,7 @@ setenv =
|
|||||||
|
|
||||||
[testenv:coverage-report]
|
[testenv:coverage-report]
|
||||||
skip_install = true
|
skip_install = true
|
||||||
|
ignore_errors = true
|
||||||
deps =
|
deps =
|
||||||
diff-cover
|
diff-cover
|
||||||
pylint
|
pylint
|
||||||
|
Loading…
Reference in New Issue
Block a user