Skip to content

Commit 0dd5778

Browse files
committed
sonar properties
1 parent 9291af6 commit 0dd5778

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,7 @@ jobs:
170170
run: |
171171
echo "Checking for test failures..."
172172
ls *-coverage.xml
173+
cat shared-coverage.xml || echo "shared-coverage.xml not found"
173174
if [ -s failed_tests.txt ]; then
174175
echo "The following tests failed:"
175176
cat failed_tests.txt

sonar-project.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ sonar.projectKey=NHSDigital_immunisation-fhir-api
33
sonar.organization=nhsdigital
44
sonar.host.url=https://sonarcloud.io
55
sonar.python.version=3.11
6-
sonar.exclusions=**/e2e/**,**/e2e_batch/**,**/temporary_sandbox/**,**/devtools/**,**/proxies/**,**/scripts/**,**/terraform/**,**/tests/**,lambdas/redis_sync/src/log_decorator.py,lambdas/shared/src/common/log_decorator.py,lambdas/shared/src/common/clients.py,lambdas/id_sync/src/id_sync.py
6+
sonar.spd.exclusions=lambdas/redis_sync/src/log_decorator.py,lambdas/shared/src/common/log_decorator.py,lambdas/shared/src/common/clients.py,lambdas/id_sync/src/id_sync.py
7+
sonar.exclusions=**/e2e/**,**/e2e_batch/**,**/temporary_sandbox/**,**/devtools/**,**/proxies/**,**/scripts/**,**/terraform/**,**/tests/**
78
sonar.python.coverage.reportPaths=backend-coverage.xml,delta-coverage.xml,ack-lambda-coverage.xml,filenameprocessor-coverage.xml,recordforwarder-coverage.xml,recordprocessor-coverage.xml,mesh_processor-coverage.xml,redis_sync-coverage.xml,id_sync-coverage.xml,shared-coverage.xml
89
sonar.issue.ignore.multicriteria=exclude_snomed_urls,exclude_hl7_urls
910
sonar.issue.ignore.multicriteria.exclude_snomed_urls.ruleKey=python:S5332

0 commit comments

Comments
 (0)