Skip to content

Commit 5a11ec3

Browse files
committed
Pass arguments to dotnet sonar
1 parent 3145486 commit 5a11ec3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/reusable-dotnet-quality.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ jobs:
131131
if: ${{ inputs.sonar-enabled }}
132132
uses: ./workflow-parts/actions/dotnet/build-test-sonar
133133
with:
134+
dotnet-test-args: ${{ inputs.dotnet-test-args }}
134135
sonar-organization: ${{ inputs.sonar-organization }}
135136
sonar-host-url: ${{ inputs.sonar-host-url }}
136137
sonar-project-name: ${{ inputs.sonar-project-name }}

actions/dotnet/build-test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ runs:
3030
run: |
3131
reportgenerator "-reports:${{ inputs.report-folder }}/TestResults/*.cobertura.xml" \
3232
"-targetdir:${{ inputs.report-folder }}" \
33-
"-reporttypes:Cobertura;Html;TextSummary;SonarQube"
33+
"-reporttypes:Cobertura;Html;TextSummary"
3434
shell: bash

0 commit comments

Comments
 (0)