Skip to content

Commit 0b1b87b

Browse files
authored
coverage sonarcloud.yml
1 parent 3b5c4e4 commit 0b1b87b

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ jobs:
7070
run: dotnet restore NetSdrClient.sln
7171
- name: Build
7272
run: dotnet build NetSdrClient.sln -c Release --no-restore
73-
name: Tests with coverage (OpenCover)
74-
run: |
75-
dotnet test NetSdrClientAppTests/NetSdrClientAppTests.csproj -c Release --no-build `
76-
/p:CollectCoverage=true `
77-
/p:CoverletOutput=TestResults/coverage.xml `
78-
/p:CoverletOutputFormat=opencover
79-
shell: pwsh
80-
3) END: SonarScanner
73+
- name: Tests with coverage (OpenCover)
74+
run: |
75+
dotnet test NetSdrClientAppTests/NetSdrClientAppTests.csproj -c Release --no-build `
76+
/p:CollectCoverage=true `
77+
/p:CoverletOutput=TestResults/coverage.xml `
78+
/p:CoverletOutputFormat=opencover
79+
shell: pwsh
80+
# 3) END: SonarScanner
8181
- name: SonarScanner End
8282
run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
8383
shell: pwsh

0 commit comments

Comments
 (0)