Skip to content

Commit c412fa8

Browse files
committed
feat: update dotnet workflow to include global dotnet-coverage tool for coverage collection
1 parent dd1d4c0 commit c412fa8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/dotnet.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ jobs:
6969
if: matrix.platform.name == 'MacOS'
7070
run: |
7171
dotnet restore
72+
dotnet tool update --global dotnet-coverage
7273
./.sonar/scanner/dotnet-sonarscanner begin /k:"magic5644_codeLineCounter" /o:"magic5644" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
7374
dotnet build --no-incremental
7475
dotnet-coverage collect 'dotnet test --no-build' -f xml -o 'coverage.xml'

0 commit comments

Comments
 (0)