Skip to content

Commit 708a901

Browse files
fix(ci): correct sonar.tests path from 'test' to 'src/__tests__'
Tests live in src/__tests__/, not test/. Also add sonar.exclusions and sonar.test.inclusions so source files and test files are correctly separated in SonarCloud analysis.
1 parent 4e929c8 commit 708a901

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-check.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ jobs:
6363
-Dsonar.organization=${{ env.SONAR_ORGANIZATION }}
6464
-Dsonar.projectKey=${{ env.SONAR_PROJECT_KEY }}
6565
-Dsonar.sources=src
66-
-Dsonar.tests=test
66+
-Dsonar.tests=src/__tests__
67+
-Dsonar.exclusions=src/__tests__/**
68+
-Dsonar.test.inclusions=src/__tests__/**
6769
-Dsonar.javascript.lcov.reportPaths=coverage/lcov.info
6870
6971
- name: SonarCloud Quality Gate

0 commit comments

Comments
 (0)