From 5c55c03fef1e6939ab2f86a1bea9aa59ced4a343 Mon Sep 17 00:00:00 2001 From: Jim Washbrook Date: Wed, 28 Aug 2024 09:49:15 +0100 Subject: [PATCH] fix: Exclude cypress tests from sonarcloud --- .github/workflows/code-pr-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/code-pr-check.yml b/.github/workflows/code-pr-check.yml index 96df990..6501321 100644 --- a/.github/workflows/code-pr-check.yml +++ b/.github/workflows/code-pr-check.yml @@ -55,7 +55,7 @@ jobs: /d:sonar.login="${{ secrets.SONAR_TOKEN }}" \ /d:sonar.host.url="https://sonarcloud.io" \ /d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml \ - /d:sonar.coverage.exclusions=**/Program.cs,**/wwwroot/** \ + /d:sonar.coverage.exclusions=**/Program.cs,**/wwwroot/**,**/Dfe.ContentSupport.Web/E2ETests/** \ /d:sonar.issue.ignore.multicriteria=e1 \ /d:sonar.issue.ignore.multicriteria.e1.ruleKey=csharpsquid:S6602 \ /d:sonar.issue.ignore.multicriteria.e1.resourceKey=src/**/*.cs