Skip to content

Commit

Permalink
Update sonar-project.properties
Browse files Browse the repository at this point in the history
Exclude main.go and server.go from test coverage during sonar scan executions.
  • Loading branch information
Pavan-SAP committed Jun 3, 2024
1 parent 8c314b3 commit cf45286
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ sonar.exclusions=**/temp.go,**/*_test.go,**/*.yaml
sonar.tests=.
sonar.test.inclusions=**/*_test.go

sonar.coverage.exclusions=**/main.go,**/server.go

sonar.go.coverage.reportPaths=coverage.out

# Encoding of the source code. Default is default system encoding
Expand Down

0 comments on commit cf45286

Please sign in to comment.