diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index eea7f1f..4e91707 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -43,7 +43,7 @@ jobs: -Dsonar.nodejs.executable=$(which node) \ -Dsonar.projectVersion=$(echo $GITHUB_SHA | cut -c1-8) \ -Dsonar.sonar.sourceEncoding=UTF-8 \ - -Dsonar.sonar.sources=. \ + -Dsonar.sonar.sources=./src -Dsonar.projectBaseDir=. \ - -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info \ - -Dsonar.coverage.exclusions=**/scripts/**,**/network/**,**/storage/**,**/**.config.js,**/rnb-cli/**,**/rnbv.js,**/android/**,**/**.styles.ts,**/tests/**,**/provider/**,**/__mocks__/**,**/__tests__/**,**/httpClient/**,**/queryClient/index.ts,**/hooks/*,**/jest-setup.js,**/azureClient/**,**/context/Theme/**,**/constants/**,**/hooks/useRootNavigation.ts,**/assets/**,**/locale/**,**/test.tsx,**/*.test.tsx + # -Dsonar.javascript.lcov.reportPaths=coverage/lcov.info \ + # -Dsonar.coverage.exclusions=**/scripts/**,**/network/**,**/storage/**,**/**.config.js,**/rnb-cli/**,**/rnbv.js,**/android/**,**/**.styles.ts,**/tests/**,**/provider/**,**/__mocks__/**,**/__tests__/**,**/httpClient/**,**/queryClient/index.ts,**/hooks/*,**/jest-setup.js,**/azureClient/**,**/context/Theme/**,**/constants/**,**/hooks/useRootNavigation.ts,**/assets/**,**/locale/**,**/test.tsx,**/*.test.tsx