Rust and Java already upload coverage - C# is missing. Follow the same pattern. `Microsoft.Testing.Extensions.CodeCoverage` is already a dependency. - [x] Add `--collect:"XPlat Code Coverage"` to `dotnet test` calls in `.github/actions/csharp-dotnet/pre-merge/action.yml` and merge into a single Cobertura XML - [x] Add `codecov/codecov-action@v5` upload step in `.github/workflows/_test.yml` for `sdk-csharp` with `flags: csharp` - [x] Add post-merge baseline job in `.github/workflows/post-merge.yml` (same pattern as `java-coverage` — start server, run tests with coverage, upload) - [x] Add `csharp` flag to `codecov.yml` (`paths: foreign/csharp/`) and remove `foreign/csharp/**` from `ignore`
Rust and Java already upload coverage - C# is missing. Follow the same pattern.
Microsoft.Testing.Extensions.CodeCoverageis already a dependency.--collect:"XPlat Code Coverage"todotnet testcalls in.github/actions/csharp-dotnet/pre-merge/action.ymland merge into a single Cobertura XMLcodecov/codecov-action@v5upload step in.github/workflows/_test.ymlforsdk-csharpwithflags: csharp.github/workflows/post-merge.yml(same pattern asjava-coverage— start server, run tests with coverage, upload)csharpflag tocodecov.yml(paths: foreign/csharp/) and removeforeign/csharp/**fromignore