Skip to content

Commit

Permalink
Using sonar.cs.opencover.it.reportsPaths argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Zegis committed Nov 19, 2023
1 parent 57fe630 commit cf377c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: pwsh
run: |
./.sonar/scanner/dotnet-sonarscanner begin /k:"Zegis_Kaeshi" /o:"zegis" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
./.sonar/scanner/dotnet-sonarscanner begin /k:"Zegis_Kaeshi" /o:"zegis" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.it.reportsPaths="opencover.xml"
dotnet build --no-restore
dotnet test --blame --no-build --verbosity normal --logger trx /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=opencover.xml
Expand Down

0 comments on commit cf377c4

Please sign in to comment.