python: fail fast on the tests

Do not waste CI time running the rest of the tests
if CI is not going to be green anyway.
This commit is contained in:
link2xt
2023-03-22 12:35:27 +00:00
parent e985588c6c
commit 959ca06691
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ envlist =
[testenv]
commands =
pytest -n6 --extra-info -v -rsXx --ignored --strict-tls {posargs: tests examples}
pytest -n6 --exitfirst --extra-info -v -rsXx --ignored --strict-tls {posargs: tests examples}
pip wheel . -w {toxworkdir}/wheelhouse --no-deps
setenv =
# Avoid stack overflow when Rust core is built without optimizations.