Skip to content

Commit f6adf2a

Browse files
authored
Merge pull request #13 from Endava/feature/add-sonar-coverage-support
Updated sonar properties
2 parents 814e525 + 53cff86 commit f6adf2a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ jobs:
6161
-Dsonar.organization=endava
6262
-Dsonar.scm.provider=git
6363
-Dsonar.sources=src
64-
-Dsonar.tests=src
64+
-Dsonar.tests=src/__tests__
6565
-Dsonar.test.inclusions=src/**/*.test*.ts
66-
-Dsonar.junit.reportPaths=.coverage/clover.xml
67-
-Dsonar.typescript.lcov.reportPaths=.coverage/lcov.info
66+
-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
6867
projectBaseDir: .

sonar-project.properties

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ sonar.projectKey=Endava_climatiq-impactframework-plugin
33
sonar.projectVersion=1.0.0
44
sonar.scm.provider=git
55
sonar.sources=src
6-
sonar.tests=src
6+
sonar.tests=src/__tests__
77
sonar.test.inclusions=src/**/*.test*.ts
8-
sonar.junit.reportPaths=.coverage/clover.xml
9-
sonar.typescript.lcov.reportPaths=.coverage/lcov.info
8+
sonar.javascript.lcov.reportPaths=./coverage/lcov.info

0 commit comments

Comments
 (0)