Repository navigation
Replace Codecov with GitHub native code coverage - #9918
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR migrates CI coverage reporting from Codecov to GitHub’s native code coverage feature by merging per-project Cobertura reports into a single report and uploading it via actions/upload-code-coverage.
Changes:
- Replaces Codecov upload steps in both PR CI (
ci.yml) and main-branch coverage (coverage.yml) with adotnet-coverage merge+actions/upload-code-coverageflow. - Adds scoped job permissions for the upload job (
code-quality: write) and removes reliance onCODECOV_TOKEN. - Removes the Codecov configuration file (
.github/codecov.yml).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .github/workflows/coverage.yml | Merge Cobertura artifacts on main pushes and upload merged report to GitHub code coverage with scoped permissions. |
| .github/workflows/ci.yml | Same coverage merge + GitHub upload flow for PR CI runs, replacing Codecov usage. |
| .github/codecov.yml | Deleted since Codecov is no longer used. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Code Coverage OverviewLanguages: C# C# / code-coverage/dotnetThe overall coverage in the Show a code coverage summary of the most covered files.
Code Coverage is in Public Preview. Learn more and provide us with your feedback. |
This was referenced Jun 16, 2026
This was referenced Jun 24, 2026
This was referenced Jul 24, 2026
chore(deps): Bump HotChocolate.Subscriptions.InMemory from 15.1.14 to 16.5.1
Kuestenlogik/Bowire#506
Merged
This was referenced Aug 31, 2026
This was referenced Sep 8, 2026
This was referenced Sep 17, 2026
This was referenced Sep 28, 2026
This was referenced Oct 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ci.ymlfor PRs,coverage.ymlformain) with GitHub's native code coverage: the per-project Cobertura reports are merged withdotnet-coverage mergeand the single result is uploaded viaactions/upload-code-coverage(SHA-pinned), withcode-quality: writescoped to theupload-coveragejob..github/codecov.ymland drops theCODECOV_TOKENusage. The test matrix and coverage collection are unchanged.Test plan
coverage.ymlrun's 125coverage-*artifacts:dotnet-coverage 18.8.0 merge … -f coberturaproduced one valid Cobertura report (150 packages, 13,642 classes, line-rate ~0.49).code-qualitypermission-scope warning is a known actionlint gap for this preview feature).Upload Coveragejob should be green andgithub-code-quality[bot]should post a coverage summary on PRs. TheCODECOV_TOKENsecret can then be deleted.