mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
d4dd13b2ba
* Exclude test files and examples file from code coverage to Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> * Get sonarqube working for inspec-5 branch through CI Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com> --------- Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
17 lines
No EOL
628 B
Properties
17 lines
No EOL
628 B
Properties
# must be unique in a given SonarQube instance
|
|
sonar.projectKey=inspec_inspec_AYahEXtgJ4YHsO5MtHEr
|
|
|
|
sonar.projectName=Chef-Inspec-inspec
|
|
|
|
# path to test coverage report generated by simplecov
|
|
sonar.ruby.coverage.reportPaths=coverage/coverage.json
|
|
|
|
# exclude test directories from coverage
|
|
sonar.coverage.exclusions=lib/bundles/inspec-compliance/*,examples/**/*,test/**,lib/plugins/*/test/**/*,test/unit/**/*,test/unit/*,test/functional/*,test/fixtures/**/*,test/artifacts/**/*\
|
|
|
|
sonar.exclusions=**/*.java,**/*.js,vendor/*
|
|
|
|
# skip C-language processor
|
|
sonar.c.file.suffixes=-
|
|
sonar.cpp.file.suffixes=-
|
|
sonar.objc.file.suffixes=- |