From 7d96a95d24a9d68afe6c8d3f04286aeaeddda36d Mon Sep 17 00:00:00 2001 From: Matt Bishop Date: Tue, 16 Jul 2024 09:15:14 -0400 Subject: [PATCH] Exclude tests from Sonar (#10102) --- .github/workflows/scan.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 6e010d1b7e..f7d2004474 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -74,6 +74,7 @@ jobs: args: > -Dsonar.organization=${{ github.repository_owner }} -Dsonar.projectKey=${{ github.repository_owner }}_${{ github.event.repository.name }} - -Dsonar.test.inclusions=**/*.spec.ts -Dsonar.tests=. -Dsonar.sources=. + -Dsonar.test.inclusions=**/*.spec.ts + -Dsonar.exclusions=**/*.spec.ts