Skip to content

Commit

Permalink
Exclude test files and examples file from code coverage to (inspec#6953)
Browse files Browse the repository at this point in the history
Signed-off-by: Vasu1105 <[email protected]>
  • Loading branch information
Vasu1105 authored Jan 29, 2024
1 parent c443921 commit 129d21b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down

0 comments on commit 129d21b

Please sign in to comment.