Skip to content

Commit d9c6096

Browse files
committed
fix(sonar): FTRS-0006 Attempt to resolve coverage failure in sonar
1 parent a2d31df commit d9c6096

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

scripts/config/sonar-scanner.properties

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ sonar.python.coverage.reportPaths=**/coverage-*.xml,coverage.xml,.coverage.xml
2222
sonar.sources=.
2323

2424
# Coverage exclusions - files that don't need coverage but can still be analyzed
25-
sonar.coverage.exclusions=**/*__init__.py,**/*.test.*,**/test_*,**/tests/**,tests/**,scripts/**,docs/**,requirements/**,sandbox/**,scans/**,architecture/**,services/read-only-viewer/**,services/dos-ui/**,infrastructure/**,scripts/workflow/create_open_search_index.py,scripts/workflow/populate_open_search_index.py,**/conftest.py
26-
27-
# Analysis exclusions - files that should not be analyzed at all
28-
sonar.exclusions=services/read-only-viewer/**,services/dos-ui/**,**/.terraform/**,**/node_modules/**,**/.venv/**,**/__pycache__/**,**/build/**,**/dist/**
25+
sonar.coverage.exclusions=services/read-only-viewer/**, services/dos-ui/**, architecture/**, **/*__init__.py, scripts/**, infrastructure/**, **/*.spec.ts,**/tests/**,**/test_*.py,**/conftest.py, scripts/workflow/create_open_search_index.py, scripts/workflow/populate_open_search_index.py
2926

27+
# Source exclusions - files that are completely ignored by SonarQube scan
28+
sonar.exclusions=services/read-only-viewer/**, services/dos-ui/**, **/tests/**,**/test_*.py,**/conftest.py

0 commit comments

Comments
 (0)