Skip to content

Commit 3a145fb

Browse files
authored
Use opencover format for coverage reports. (#503)
1 parent 5285862 commit 3a145fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coverage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ testtarget="ci.slnf"
1717
fi
1818

1919
dotnet build $testtarget --configuration Release
20-
dotnet test $testtarget --configuration Release --no-build --no-restore --framework net9.0 --collect:"XPlat Code Coverage"
20+
dotnet test $testtarget --configuration Release --no-build --no-restore --framework net9.0 --collect:"XPlat Code Coverage;Format=opencover"
2121

2222
reportgenerator \
23-
-reports:tests/**/coverage.cobertura.xml \
23+
-reports:tests/**/coverage.opencover.xml \
2424
-targetdir:TestResults \
2525
-reporttypes:"Html;Badges;MarkdownSummaryGithub" \
2626
-assemblyfilters:-*Tests*

0 commit comments

Comments
 (0)