Commit fd1eec9
ci(codecov): add nightly e2e-coverage job, drop "(unit)" from badge alt
Standing up the missing half of #267's Phase 2 acceptance criteria:
"CI runs the unit suite on every PR (cheap) and the full coverage job
on-label or nightly (expensive — full e2e)."
- .github/workflows/coverage-nightly.yml: daily 03:00 UTC job (also
workflow_dispatch) that runs yarn build + yarn coverage:e2e on Node 22
/ Linux and uploads coverage/lcov.info to Codecov with `flags: e2e`.
Reuses the same ~/.pkg-cache key as test.yml so it doesn't refetch all
pkg-fetch binaries each night.
- README: badge alt text is now "Coverage" — once the first nightly
lands, Codecov merges the `unit` (from PR / main pushes) and `e2e`
flag uploads per commit, so main-branch reports reflect the combined
picture. PRs still show unit-only signal via flags.
Codecov's flag-based merge means this doesn't touch the per-PR upload
path — the existing build_artifact step keeps uploading unit with the
fast ~2s feedback, and e2e drifts in once per day.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent f4d5644 commit fd1eec9
2 files changed
Lines changed: 58 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments