Skip to content

Commit 213e150

Browse files
authored
Update quality.yml
1 parent 7ca8ae3 commit 213e150

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/quality.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ jobs:
4848
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
4949
shell: pwsh
5050
run: |
51+
$ErrorActionPreference = "Stop"
52+
$PSNativeCommandUseErrorActionPreference = $true
5153
.\.sonar\scanner\dotnet-sonarscanner begin /k:"rufer7_github-sonarcloud-integration" /o:"rufer7" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.projectBaseDir="D:\a\github-sonarcloud-integration\github-sonarcloud-integration" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
5254
dotnet build .\src\ArbitrarySolution.sln --configuration Release
5355
dotnet-coverage collect 'dotnet test .\src\ArbitraryProject.Tests\ArbitraryProject.Tests.csproj' -f xml -o 'coverage.xml'

0 commit comments

Comments
 (0)