From 34b1f3d1e5386b9f9bd4f013768a9bceac14a159 Mon Sep 17 00:00:00 2001 From: qingliu Date: Fri, 2 Sep 2022 15:57:19 +0800 Subject: [PATCH] chore: exclude unit coverage for mock directories --- sonar-project.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonar-project.properties b/sonar-project.properties index 735134ff..4397ce69 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -3,7 +3,7 @@ sonar.coverage.dtdVerification=false sonar.sourceEncoding=UTF-8 sonar.sources=. -sonar.exclusions=vendor/**,test/**,**/*_generated*go,**/generated.pb.go,**/*.md,bin/*,testbin/* +sonar.exclusions=vendor/**,test/**,**/*_generated*go,**/generated.pb.go,testing/mock/**,**/*.md,bin/*,testbin/* sonar.tests=. sonar.test.inclusions=**/*_test.go