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

@@ -6,7 +6,7 @@ envlist =
[testenv]
commands =
pytest {posargs}
pytest --exitfirst {posargs}
setenv =
# Avoid stack overflow when Rust core is built without optimizations.
RUST_MIN_STACK=8388608