diff --git a/.github/workflows/react-ci.yml b/.github/workflows/react-ci.yml index e8b712d..a94c6f1 100644 --- a/.github/workflows/react-ci.yml +++ b/.github/workflows/react-ci.yml @@ -17,6 +17,8 @@ jobs: name: Test with vitest and report coverage steps: - uses: actions/checkout@v6 + with: + fetch-depth: 0 - uses: actions/setup-node@v6 with: diff --git a/sonar-project.properties b/sonar-project.properties index 89dce3b..777809c 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,4 +3,5 @@ sonar.organization=configcat sonar.sources=src -sonar.javascript.lcov.reportPaths=coverage/lcov.info \ No newline at end of file +sonar.javascript.lcov.reportPaths=coverage/lcov.info +sonar.coverage.exclusions=**/*.test.*,**/*.spec.*,src/setupTests.ts \ No newline at end of file