Exit early on error/failure #2425
Answered
by
jugmac00
jakubclark
asked this question in
Q&A
-
Apologies in advance if this has been asked before, or is documented somewhere, but I haven't managed to find anything. I have a few environments, to lint, check format, run tests. These are run sequentially. The lint check is run first, followed by the format check and then finally the tests. Is it possible to have tox exit early, when some command fails? For example, if the lint check results in an error, it would be nice to have tox exit, instead of moving onto the next environments. |
Beta Was this translation helpful? Give feedback.
Answered by
jugmac00
May 25, 2022
Replies: 1 comment 3 replies
-
Afaik this it is not supported by tox stop on the first failed environment. This might be possible with a plugin. What is your use case? |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
jugmac00
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Afaik this it is not supported by tox stop on the first failed environment.
This might be possible with a plugin.
What is your use case?