Skip to content

Commit 3b5c4e4

Browse files
authored
coverlet.msbuild sonarcloud.yml
1 parent 165f3ac commit 3b5c4e4

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,16 @@ 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
84+
85+

0 commit comments

Comments
 (0)