Skip to content

Commit add14d2

Browse files
leur-nordicthst-nordic
authored andcommitted
ci: autoscan: fixing the sonar properties
autoscan: definiton of scan scope and exclusions Signed-off-by: Leif Harald Urlaub <[email protected]>
1 parent 1d45127 commit add14d2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.sonarcloud.properties

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ sonar.projectVersion=1.0
99

1010
# Path to sources
1111
sonar.sources=.
12-
sonar.exclusions=**/cmake/**/*,**/doc/**/*,**/ext/**/*
13-
sonar.inclusions=**/*.c,**/*.h
12+
sonar.exclusions=tests/**,**/cmake/**/*,**/doc/**/*,**/ext/**/*
13+
sonar.inclusions=
1414

1515
# Path to tests
16-
sonar.tests = tests/
16+
sonar.tests=tests
1717
# sonar.test.exclusions=
1818
# sonar.test.inclusions=
1919

2020
# Exclusions for copy-paste detection
21-
sonar.cpd.exclusions=**/tests/**/*, **/doc/_utils/redi*
21+
sonar.cpd.exclusions=**/tests/**/*, **/doc/_utils/redi*,**/zap-generated/**/*
2222

2323
# Python version (for python projects only)
2424
sonar.python.version=3.12

0 commit comments

Comments
 (0)