Skip to content

Commit add2e0c

Browse files
committed
fix: update coverage format to 'cobertura' in dotnet workflow
1 parent 140d096 commit add2e0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
dotnet restore
7474
./.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 /d:sonar.scanner.scanAll=false
7575
dotnet build --no-incremental
76-
dotnet-coverage collect 'dotnet test --no-build' -f xml -o 'coverage.xml'
76+
dotnet-coverage collect 'dotnet test --no-build' -f cobertura -o 'coverage.xml'
7777
./.sonar/scanner/dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
7878
7979
- name: Build Release

0 commit comments

Comments
 (0)