File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,13 +21,13 @@ jobs:
2121 run : dotnet restore
2222
2323 - name : Test with coverage
24- run : dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Threshold=85 /p:ThresholdType=line
24+ run : dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=./TestResults/Coverage/ /p:Threshold=85 /p:ThresholdType=line
2525
2626 - name : Install reportgenerator
2727 run : dotnet tool install --global dotnet-reportgenerator-globaltool --version 5.1.0
2828
2929 - name : Generate coverage report
30- run : ~/.dotnet/tools/reportgenerator -reports:**/coverage.opencover .xml -targetdir:coverage-report -reporttypes:Html
30+ run : ~/.dotnet/tools/reportgenerator -reports:**/TestResults/Coverage/ coverage.cobertura .xml -targetdir:coverage-report -reporttypes:Html
3131
3232 - name : Upload coverage report
3333 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments