Skip to content

Commit 8939dd3

Browse files
committed
VED-79: Add coverage test in sonar and make workspace
1 parent a5c8ac6 commit 8939dd3

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ jobs:
103103
poetry run coverage run -m unittest discover || echo "mesh_processor tests failed" >> ../failed_tests.txt
104104
poetry run coverage xml -o ../mesh_processor-coverage.xml
105105
106+
- name: Run unittest with coverage-mns-subscription
107+
working-directory: mns_subscription
108+
id: mns_subscription
109+
continue-on-error: true
110+
run: |
111+
poetry install
112+
poetry run coverage run -m unittest discover || echo "mns_subscription tests failed" >> ../failed_tests.txt
113+
poetry run coverage xml -o ../mns_subscription-coverage.xml
114+
106115
- name: Run unittest with redis_sync
107116
working-directory: redis_sync
108117
id: redis_sync

immunisation-fhir-api.code-workspace

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
},
3030
{
3131
"path": "redis_sync"
32+
},
33+
{
34+
"path": "mns_subscription"
3235
}
3336
],
3437
"settings": {},

0 commit comments

Comments
 (0)