Skip to content

Commit

Permalink
Remove exclusions from sonar cli command
Browse files Browse the repository at this point in the history
This is overriding the settings set in the UI
  • Loading branch information
dynamictulip committed Aug 20, 2024
1 parent a8303ba commit 41258dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: |
dotnet-sonarscanner begin /k:"DFE-Digital_find-information-about-academies-and-trusts" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.coverage.exclusions="**/*.js"
dotnet-sonarscanner begin /k:"DFE-Digital_find-information-about-academies-and-trusts" /o:"dfe-digital" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml
dotnet restore DfE.FindInformationAcademiesTrusts
dotnet build DfE.FindInformationAcademiesTrusts -c Release
dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml"
Expand Down

0 comments on commit 41258dc

Please sign in to comment.