Skip to content

Commit

Permalink
Use vstest Cobertura support
Browse files Browse the repository at this point in the history
Thanks to microsoft/vstest#2874 Cobertura reports can be obtained faster without coverlet.
  • Loading branch information
stan-sz committed Jan 16, 2023
1 parent df5dbe3 commit 9bb1457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/buildtest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build
run: dotnet build --configuration Release -v detailed
- name: Test
run: dotnet test /p:CollectCoverage=true /p:ExcludeByFile=\"**/KubernetesClient/generated/**/*.cs\" /p:CoverletOutputFormat="cobertura"
run: dotnet test /collect:"Code Coverage;Format=Cobertura"

# Test code gen for visual studio compatibility >> https://github.com/kubernetes-client/csharp/pull/1008
codgen:
Expand Down

0 comments on commit 9bb1457

Please sign in to comment.