Commit 058c548
ci(coverage): replace ReportGenerator with an in-repo report generator
ReportGenerator's free HTML report renders a "Method coverage: Feature is
only available for sponsors" upsell row that can't be cleanly suppressed.
Drop the dependency and render our own.
scripts/coverage_report.py reads the Cobertura XML coverlet already produces
and emits:
- index.html styled like the rest of the Celerity site (per-file line/branch
bars, uncovered-line ranges linked to source, lowest-coverage-first)
- badge.svg (line-coverage shields-style badge, self-generated)
- summary.md for the PR comment
It also enforces the coverage floor and writes the run summary, folding the
old separate gate step into one script. No third-party branding.
The coverage workflow now runs the script instead of the ReportGenerator
action + inline gate; the README badge points at coverage/badge.svg; the
testing guide documents the generator.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent de65c0f commit 058c548
4 files changed
Lines changed: 436 additions & 41 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | 75 | | |
97 | | - | |
| 76 | + | |
98 | 77 | | |
99 | 78 | | |
100 | 79 | | |
101 | 80 | | |
102 | 81 | | |
103 | 82 | | |
104 | | - | |
| 83 | + | |
105 | 84 | | |
106 | 85 | | |
107 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
131 | 129 | | |
| 130 | + | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
0 commit comments