Skip to content

Commit 42abaf5

Browse files
committed
attempt at excluding autogenerated files from code coverage
1 parent 2744186 commit 42abaf5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sonar-project.properties

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
sonar.projectKey=MadsRC_sophrosyne
22
sonar.organization=madsrc
33
sonar.sources=.
4-
sonar.tests=.
5-
sonar.exclusions=**/*.pb.go,**/*_test.go,tests,internal/mocks/**/*,internal/grpc/**/*.go
4+
sonar.tests=
5+
sonar.exclusions=**/*.pb.go,**/*_test.go,tests/,internal/mocks/,internal/grpc/**/*.pb.go
66
sonar.test.inclusions=**/*_test.go
7+
sonar.coverage.exclusions=internal/mocks,internal/grpc/**/*.pb.go
78
sonar.go.golangci-lint.reportPaths=build/report.xml
89
sonar.go.coverage.reportPaths=build/unit_coverage.out
910
sonar.go.tests.reportPaths=build/unit_test_report.json

0 commit comments

Comments
 (0)