Skip to content

Commit

Permalink
update sonar_cloud.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
harris2012 committed Jun 7, 2023
1 parent 21991e4 commit 851045b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sonar_cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"panosen_panosen-aspnetcore-authentication" /o:"panosen" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml"
.\.sonar\scanner\dotnet-sonarscanner begin /k:"panosen_panosen-aspnetcore-authentication" /o:"panosen" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.opencover.reportsPaths="**/coverage.opencover.xml"
dotnet test --collect "XPlat Code Coverage" -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
.\.sonar\scanner\dotnet-sonarscanner end

0 comments on commit 851045b

Please sign in to comment.