Skip to content

Commit

Permalink
ci: fixing coverage report path
Browse files Browse the repository at this point in the history
  • Loading branch information
raffreitas committed Dec 15, 2024
1 parent 9100bcd commit 94a070f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"raffreitas_my-recipes" /o:"raffreitas-1" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=tests\**\*.Test\coverage.opencover.xml
.\.sonar\scanner\dotnet-sonarscanner begin /k:"raffreitas_my-recipes" /o:"raffreitas-1" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths=tests\**\*.Tests\coverage.opencover.xml
dotnet build
dotnet test /p:CollectCoverage=true /p:CoverletOutputFormat=opencover -l trx
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"

0 comments on commit 94a070f

Please sign in to comment.