mirror of
https://github.com/chatmail/core.git
synced 2026-05-12 19:36:32 +03:00
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:
@@ -6,7 +6,7 @@ envlist =
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
commands =
|
||||||
pytest {posargs}
|
pytest --exitfirst {posargs}
|
||||||
setenv =
|
setenv =
|
||||||
# Avoid stack overflow when Rust core is built without optimizations.
|
# Avoid stack overflow when Rust core is built without optimizations.
|
||||||
RUST_MIN_STACK=8388608
|
RUST_MIN_STACK=8388608
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ envlist =
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
commands =
|
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
|
pip wheel . -w {toxworkdir}/wheelhouse --no-deps
|
||||||
setenv =
|
setenv =
|
||||||
# Avoid stack overflow when Rust core is built without optimizations.
|
# Avoid stack overflow when Rust core is built without optimizations.
|
||||||
|
|||||||
Reference in New Issue
Block a user