From b80b4bfe00a4978c53c0e2a60a17cebace12723b Mon Sep 17 00:00:00 2001 From: Daniel Clarke Date: Mon, 12 Aug 2024 13:39:25 +0100 Subject: [PATCH] added sonar exclusion for E2E tests --- .github/workflows/sonarcloud.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 20b92fdb..34e7582d 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -64,6 +64,7 @@ jobs: /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml \ /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ /d:sonar.host.url="https://sonarcloud.io" + /d:sonar.exclusions=tests/java/Dfe.EarlyYearsQualification.E2ETests/** dotnet build --no-incremental dotnet-coverage collect --settings dotnet-cover-config.xml -f xml -o coverage.xml "dotnet test" dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}" \ No newline at end of file