Skip to content

Commit ba26ac0

Browse files
committed
debug coverage
1 parent f705ad8 commit ba26ac0

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
poetry install
131131
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
133+
cat ../../shared-coverage.xml
133134
134135
- name: Run unittest with id_sync
135136
working-directory: lambdas/id_sync
@@ -142,6 +143,7 @@ jobs:
142143
poetry install
143144
poetry run coverage run --rcfile=.coveragerc --source=src -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
144145
poetry run coverage xml -o ../../id_sync-coverage.xml
146+
cat ../../id_sync-coverage.xml
145147
146148
- name: Run Test Failure Summary
147149
id: check_failure

lambdas/id_sync/.coveragerc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ omit =
33
tests/*
44
tests/*/*
55
tests/*/*/*
6+
tests/test_*.py
7+
tests/*/test_*.py
8+
tests/*/*/test_*.py
69
id_sync/tests/*
710
id_sync/tests/*/*
811
id_sync/tests/*/*/*

0 commit comments

Comments
 (0)