No way to distinguish between mix test --warnings-as-errors
test failures (exit 2) or test failures with warnings in test files (exit 2)
#14245
Labels
In our CI pipeline, we rerun failed tests once to pass flaky tests that fail inconsistently. This means the following scenario is quite common:
mix test --warnings-as-errors
-> exit 2foo_test.exs
bar_test.exs
but tests passmix test --failed --warnings-as-errors
-> exit 0foo_test.exs
passesbar_test.exs
again so the warning is lostHappy to help with a solution here if folks think the problem is worth solving.
The text was updated successfully, but these errors were encountered: