Skip to content

Commit

Permalink
fix(): add possibility to change sonarqube coverage format
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-sartori-zupit committed Aug 19, 2024
1 parent 9f91de0 commit 69b5bb2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sonar-step-dotnet-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ on:
required: false
type: boolean
default: false
REPORTS_PATH:
required: false
type: string
default: "**/*.trx"

jobs:
sonar-analyze:
Expand Down Expand Up @@ -89,7 +93,7 @@ jobs:
/k:"${{ inputs.SONAR_PROJECT_KEY }}" \
/d:sonar.token="${{ secrets.SONAR_TOKEN }}" \
/d:sonar.host.url="${{ secrets.SONAR_HOST_URL }}" \
/d:sonar.cs.vstest.reportsPaths=**/*.trx \
/d:sonar.cs.vstest.reportsPaths=${{inputs.REPORTS_PATH}} \
/d:sonar.qualitygate.wait=${{ inputs.CHECK_QUALITY_GATE }} \
"${params[@]}"
Expand Down

0 comments on commit 69b5bb2

Please sign in to comment.