1 parent 7ca8ae3 commit 213e150Copy full SHA for 213e150
1 file changed
.github/workflows/quality.yml
@@ -48,6 +48,8 @@ jobs:
48
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
49
shell: pwsh
50
run: |
51
+ $ErrorActionPreference = "Stop"
52
+ $PSNativeCommandUseErrorActionPreference = $true
53
.\.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
54
dotnet build .\src\ArbitrarySolution.sln --configuration Release
55
dotnet-coverage collect 'dotnet test .\src\ArbitraryProject.Tests\ArbitraryProject.Tests.csproj' -f xml -o 'coverage.xml'
0 commit comments