Exclude test files and examples file from code coverage to (#6953)

Signed-off-by: Vasu1105 <vasundhara.jagdale@progress.com>
This commit is contained in:
Vasundhara Jagdale 2024-01-29 13:25:52 +00:00 committed by GitHub
parent c4439215e8
commit 129d21be3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ sonar.projectName=Chef-Inspec-inspec
sonar.ruby.coverage.reportPaths=coverage/coverage.json
# exclude test directories from coverage
sonar.coverage.exclusions=test/*,lib/plugins/*/test/*
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/*