Skip to content

Commit b1cd5b7

Browse files
authored
Update sonarcloud.yml
1 parent edb2816 commit b1cd5b7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ 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
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
8080
# 3) END: SonarScanner
8181
- name: SonarScanner End
8282
run: dotnet sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 commit comments

Comments
 (0)