We are running elixir:latest in CI and hit this ambiguous problem with the
new change to coverage thresholds reporting an error:
Changelog notes:
[mix test] Exit with a status of 3 when coverage falls below threshold
Reading CI it was unclear what was failing as the only indication of an
error is the red on the coverage percentage which obviously isn't visible
in this CI configuration. I think it would be much better to have an
explicit failure line like:
```
-----------|--------------------------
63.13% | Total
Coverage failed, threshold not met:
Coverage: 63.13%
Threshold: 75%
See https://hexdocs.pm/mix/1.13.0/Mix.Tasks.Test.html#module-coverage
Generated HTML coverage results in "cover" directory
```
Thoughts?
--
You received this message because you are subscribed to the Google Groups
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elixir-lang-core/2c1ce6cc-c0bd-4f44-a5ee-05d0f0c9c880n%40googlegroups.com.