Skip to content

Commit 1ffa120

Browse files
Switch coverage format to Cobertura for SonarCloud visibility
Co-authored-by: 304NotModified <5808377+304NotModified@users.noreply.github.com>
1 parent e3113af commit 1ffa120

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
/o:"304notmodified" \
3939
/d:sonar.token="${SONAR_TOKEN}" \
4040
/d:sonar.host.url="https://sonarcloud.io" \
41-
/d:sonar.cs.vscoveragexml.reportsPaths="**/TestResults/**/*.xml"
41+
/d:sonar.cs.cobertura.reportsPaths="**/TestResults/**/*.cobertura.xml"
4242
4343
- name: Build
4444
run: dotnet build SLNX-validator.slnx --no-restore -c Release
4545

4646
- name: Test with coverage
47-
run: dotnet test --solution SLNX-validator.slnx --no-build -c Release --verbosity normal -- --coverage --coverage-output-format xml
47+
run: dotnet test --solution SLNX-validator.slnx --no-build -c Release --verbosity normal -- --coverage --coverage-output-format cobertura
4848

4949
- name: End SonarCloud analysis
5050
env:

0 commit comments

Comments
 (0)