Skip to content

Commit

Permalink
only cover .go files for sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
cfindlayisme committed May 24, 2024
1 parent f18d4bd commit a8fbb9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ sonar.test.inclusions=**/*_test.go
# Path to coverage report
sonar.go.coverage.reportPaths=coverage.out

# Exclude main.go from coverage
sonar.coverage.exclusions=**/main.go
# Exclude all files that are not .go files and main.go from coverage
sonar.coverage.exclusions=**/*.*,!**/*.go,**/main.go

0 comments on commit a8fbb9b

Please sign in to comment.