diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 600d66c..bafb6df 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -61,8 +61,7 @@ jobs: -Dsonar.organization=endava -Dsonar.scm.provider=git -Dsonar.sources=src - -Dsonar.tests=src + -Dsonar.tests=src/__tests__ -Dsonar.test.inclusions=src/**/*.test*.ts - -Dsonar.junit.reportPaths=.coverage/clover.xml - -Dsonar.typescript.lcov.reportPaths=.coverage/lcov.info + -Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info projectBaseDir: . diff --git a/sonar-project.properties b/sonar-project.properties index a57de3d..2ae73af 100755 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,6 @@ sonar.projectKey=Endava_climatiq-impactframework-plugin sonar.projectVersion=1.0.0 sonar.scm.provider=git sonar.sources=src -sonar.tests=src +sonar.tests=src/__tests__ sonar.test.inclusions=src/**/*.test*.ts -sonar.junit.reportPaths=.coverage/clover.xml -sonar.typescript.lcov.reportPaths=.coverage/lcov.info \ No newline at end of file +sonar.javascript.lcov.reportPaths=./coverage/lcov.info \ No newline at end of file