Skip to content

Commit f705ad8

Browse files
committed
coverage
1 parent fedd553 commit f705ad8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
run: |
129129
poetry env use 3.11
130130
poetry install
131-
poetry run coverage run --source=src -m unittest discover -s tests -p "test_*.py" -v || echo "shared tests failed" >> ../../failed_tests.txt
131+
poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover -s tests -p "test_*.py" -v || echo "shared tests failed" >> ../../failed_tests.txt
132132
poetry run coverage xml -o ../../shared-coverage.xml
133133
134134
- name: Run unittest with id_sync
@@ -140,7 +140,7 @@ jobs:
140140
run: |
141141
poetry env use 3.11
142142
poetry install
143-
poetry run coverage run --source=src -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
143+
poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
144144
poetry run coverage xml -o ../../id_sync-coverage.xml
145145
146146
- name: Run Test Failure Summary

lambdas/id_sync/.coveragerc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ omit =
33
tests/*
44
tests/*/*
55
tests/*/*/*
6+
id_sync/tests/*
7+
id_sync/tests/*/*
8+
id_sync/tests/*/*/*
9+
../shared/tests/*
10+
../shared/tests/*/*
11+
../shared/tests/*/*/*

0 commit comments

Comments
 (0)