Skip to content

Commit

Permalink
test(sonar): update path of lcov report for the combined frontend cod…
Browse files Browse the repository at this point in the history
…e coverage

Also removed now unnecessary exclusions
  • Loading branch information
murdos committed Sep 22, 2024
1 parent 02d96c2 commit 5b139b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extension": [".js", ".cjs", ".mjs", ".ts", ".vue"],
"reporter": ["html", "json", "text-summary"],
"reporter": ["html", "json", "lcov", "text-summary"],
"report-dir": "target/frontend-coverage/combined",
"temp-dir": "target/.nyc_output",
"check-coverage": true,
Expand Down
6 changes: 1 addition & 5 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ sonar.java.codeCoveragePlugin=jacoco
sonar.junit.reportPaths=target/surefire-reports,target/failsafe-reports

sonar.testExecutionReportPaths=target/test-results/TESTS-results-sonar.xml
sonar.javascript.lcov.reportPaths=target/test-results/lcov.info
sonar.javascript.lcov.reportPaths=target/frontend-coverage/combined/lcov.info

sonar.sourceEncoding=UTF-8
sonar.exclusions=\
src/main/resources/**,\
src/main/webapp/app/main.ts,\
src/main/webapp/app/router/index.ts,\
src/main/webapp/app/**/application/*Provider.ts,\
src/main/webapp/app/shared/alert/infrastructure/primary/WindowApplicationListener.ts,\
src/main/webapp/app/module/secondary/RestManagementRepository.ts,\
src/main/webapp/app/injections.ts,\
src/main/webapp/content/**/*.*,\
target/classes/static/**/*.*,\
src/main/glyph/css/**
Expand Down

0 comments on commit 5b139b9

Please sign in to comment.