Exit early on error/failure #2425
-
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.
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.
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?