Commit 17cf86a
Drop codecov.io upload; publish coverage to Azure DevOps instead
testfx already collects coverage with Microsoft Code Coverage (MTP `--coverage`
configured by `test/coverage.config`). The only codecov.io-specific bits were
the upload step and dashboard publishing — replace them with an AzDO-native
publish that surfaces coverage in the build's Code Coverage tab and on the
build summary (one click from the GitHub PR status check).
Changes:
* Remove `codecov.yml` and the `Codecov` NuGet package reference.
* Delete `eng/CodeCoverage.proj` outright — its only remaining job was a
`dotnet coverage merge` invocation, which is now a one-line YAML script
step. The unit/integration split it used to do was a codecov.io flag thing
and has no equivalent in `PublishCodeCoverageResults@2`.
* Replace the "Upload coverage to codecov.io" pipeline step with a "Merge
coverage to Cobertura" script (one line, invokes the `dotnet-coverage`
local tool already declared in `.config/dotnet-tools.json`) plus
`PublishCodeCoverageResults@2`, which renders Cobertura natively in
Azure DevOps.
* Update the matching comment in `eng/pipelines/steps/test-non-windows.yml`.
Reviewers no longer get a Codecov PR comment; coverage is one click away on the
AzDO build (linked from the GitHub PR status check). Same path as dotnet/runtime,
dotnet/sdk, etc.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 741048f commit 17cf86a
5 files changed
Lines changed: 26 additions & 124 deletions
File tree
- eng
- pipelines/steps
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | 68 | | |
70 | 69 | | |
71 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
169 | 173 | | |
170 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
171 | 186 | | |
172 | 187 | | |
173 | 188 | | |
| |||
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
0 commit comments