Skip to content

Commit 1418e87

Browse files
authored
ci: exclude testdata from sonar.exclusions (#26398)
Signed-off-by: reggie-k <[email protected]>
1 parent e8539be commit 1418e87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sonar-project.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ sonar.projectVersion=1.0
88
# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
99
sonar.sources=.
1010

11-
sonar.exclusions=docs/**
11+
# Exclude docs and testdata with kustomization files (Sonar IaC parser fails on empty/edge-case YAML)
12+
sonar.exclusions=docs/**,**/testdata/**
1213

1314
# Encoding of the source code. Default is default system encoding
1415
sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)