Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zingz0r authored Dec 21, 2024
1 parent 8ad4afc commit 598de2c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,15 @@ jobs:
dotnet test --logger "trx;logfilename=TestResults.trx" --no-build --configuration ${{ env.buildConfiguration }} --collect "XPlat Code Coverage;Format=opencover,cobertura"
continue-on-error: false

- name: Official SonarQube Scan
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@v4.2.1
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: >
-Dsonar.organization=zingz0r-github
-Dsonar.projectKey=CloudFlare.Client
-Dsonar.tests=CloudFlare.Client.Test/
-Dsonar.exclusions=bin/**,obj/**
-Dsonar.cs.opencover.reportsPaths=TestResults/**/coverage.opencover.xml
-Dsonar.verbose=true

0 comments on commit 598de2c

Please sign in to comment.