From cab2fd3cb8a71b26f6800369bb1744199b014f8d Mon Sep 17 00:00:00 2001 From: Guillaume Chervet Date: Tue, 27 Aug 2024 16:05:37 +0200 Subject: [PATCH] chore(sonar): add exclusion --- .github/workflows/slimfaas-ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/slimfaas-ci.yaml b/.github/workflows/slimfaas-ci.yaml index 73ac11b5..d29f5be2 100644 --- a/.github/workflows/slimfaas-ci.yaml +++ b/.github/workflows/slimfaas-ci.yaml @@ -48,7 +48,7 @@ jobs: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} shell: powershell run: | - .\.sonar\scanner\dotnet-sonarscanner begin /k:"AxaFrance_SlimFaas" /o:"axaguildev" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml + .\.sonar\scanner\dotnet-sonarscanner begin /k:"AxaFrance_SlimFaas" /o:"axaguildev" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io" /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml /d:sonar.coverage.exclusions="src/Fibonacci/**/*,src/FibonacciReact/**/*" dotnet tool install --global dotnet-coverage dotnet-coverage collect "dotnet test" -f xml -o "coverage.xml" .\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"