Commit 8de77b9
committed
fix(ci): add tool: ExCoveralls back + split coverage steps
The earlier change (removing tool: ExCoveralls) broke 'mix coveralls.json'
which needs that flag to use excoveralls as the test coverage backend.
The right setup is to have BOTH:
- 'mix test --cover' for the strict threshold enforcement (uses the
test_coverage.ignore_modules list and the 90% threshold)
- 'mix coveralls.json' to produce the JSON Codecov ingests (lower
threshold: 1%, since it sees total coverage including excluded modules)
The CI workflow now runs them in two separate steps.
Also: a small doc comment in the coveralls: config block explains
why minimum_coverage is set so low (1%) — the strict threshold
is checked by the upstream 'mix test --cover' step.1 parent a0039a6 commit 8de77b9
2 files changed
Lines changed: 22 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
78 | 87 | | |
79 | 88 | | |
80 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
26 | 29 | | |
27 | 30 | | |
28 | 31 | | |
| |||
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
71 | | - | |
72 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
73 | 83 | | |
74 | 84 | | |
75 | 85 | | |
| |||
0 commit comments