-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Sonar Cloud analysis with getting Code Coverage (#216)
- Loading branch information
1 parent
fb2f90b
commit 0f02f27
Showing
3 changed files
with
26 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# must be unique in a given SonarQube instance | ||
sonar.projectKey=opentdf_client-web | ||
|
||
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows. | ||
# This property is optional if sonar.modules is set. | ||
sonar.sources=lib/src,lib/tdf3,web-app/src,web-app/public | ||
|
||
sonar.host.url=https://sonarcloud.io | ||
sonar.organization=opentdf | ||
|
||
# code coverage | ||
sonar.javascript.lcov.reportPaths=lib/coverage/lcov.info | ||
# sonar.tests=tests | ||
|
||
# Encoding of the source code. Default is default system encoding | ||
sonar.sourceEncoding=UTF-8 | ||
|
||
# Ignore generated files during analysis | ||
# Also, ignore healthz file since it is itself a test, and does not need testing. | ||
# sonar.exclusions=public/js/*.js,public/css/*.css,lib/app/routes/healthz.js |