Skip to content

Commit

Permalink
Update sonarcloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfarukz authored Nov 4, 2022
1 parent e8f7a0f commit 5d91fa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Build
run: |
dotnet build-server shutdown
dotnet sonarscanner begin /k:"omerfarukz_autocomplete" /o:"omerfarukz" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
dotnet sonarscanner begin /k:"omerfarukz_autocomplete" /o:"omerfarukz" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="./**/coverage.opencover.xml"
dotnet build
dotnet test -p:coverletOutput=./coverage.opencover.xml -p:CollectCoverage=true -p:CoverletOutputFormat=opencover
dotnet sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"

0 comments on commit 5d91fa6

Please sign in to comment.