Skip to content

Commit

Permalink
Exclude examples/ from code coverage report (#1370)
Browse files Browse the repository at this point in the history
  • Loading branch information
GunalKupta authored Jan 6, 2025
1 parent 1f31b8e commit 40deae5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ semaphore:
enable: true
sonarqube:
enable: true
coverage_exclusions:
- "examples/**"
- "**/*.pb.*"
- "**/mk-include/**/*"
coverage_reports:
- "**/*coverage.txt"
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### service-bot sonarqube plugin managed file
sonar.coverage.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test*
sonar.cpd.exclusions=**/test/**/*,**/tests/**/*,**/mock/**/*,**/mocks/**/*,**/*mock*,**/*test*
sonar.exclusions=**/*.pb.*,**/mk-include/**/*
sonar.exclusions=**/*.pb.*,**/mk-include/**/*,examples/**
sonar.go.coverage.reportPaths=**/*coverage.txt
sonar.language=go
sonar.projectKey=confluent-kafka-go
Expand Down

0 comments on commit 40deae5

Please sign in to comment.