Skip to content

ci(codecov): carry forward coverage on skipped-test pushes - #772

Merged
Exoridus merged 1 commit into
nextfrom
chore/codecov-carryforward
Sep 22, 2026
Merged

Exoridus merged 1 commit into
nextfrom
chore/codecov-carryforward

Conversation

@Exoridus

Copy link
Copy Markdown
Owner

Coverage only runs when the pushed diff needs the test lanes; a narrowed push (docs, release metadata, chore) skips the whole test job and uploads nothing. Checked against the live Codecov API: most commits on both main and next currently carry totals: null, and the repo-level totals are null because Codecov's default branch (main) has such a commit as its latest.

Adds codecov.yml with carryforward enabled for the unit and webgl flags - the only two that ever upload coverage - so a commit with no new report reuses the last real one instead of showing none.

Verification: config-only change; the fix takes effect on the next skipped-coverage push to main/next after merge, which is the natural place to confirm it against the live badge and API.

Coverage only runs when the pushed diff needs the test lanes; a
narrowed push (docs, release metadata, chore) skips the whole test
job and uploads nothing, leaving that commit - and the badge, when it
lands on the default branch - without a report. Carrying forward the
unit and webgl flags reuses each one's last real upload instead.
@Exoridus
Exoridus enabled auto-merge (squash) September 22, 2026 15:44
@Exoridus
Exoridus merged commit 0c637f9 into next Sep 22, 2026
12 checks passed
@Exoridus
Exoridus deleted the chore/codecov-carryforward branch September 22, 2026 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant