Skip to content

Commit

Permalink
[Misc] Sonar: analysis folders updated
Browse files Browse the repository at this point in the history
We want the files under pkg and internal to be part of Sonar analysis.
We just want to exclude pkg/operator/operator.go from coverage aspect
  • Loading branch information
Pavan-SAP authored Sep 8, 2023
1 parent e900fd1 commit 7ccabdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ sonar.organization=sap-1
# Go!
sonar.language=go
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
sonar.sources=internal
sonar.sources=pkg,internal
sonar.exclusions=**/*_test.go
sonar.coverage.exclusions=pkg/operator/operator.go
sonar.tests=.
sonar.test.inclusions=**/*_test.go

Expand Down

0 comments on commit 7ccabdb

Please sign in to comment.