Skip to content

Commit e196b9d

Browse files
committed
debug coverage location
1 parent bbe0376 commit e196b9d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,10 +135,11 @@ jobs:
135135
PYTHONPATH: ${{ env.SHARED_PATH }}
136136
continue-on-error: true
137137
run: |
138+
echo "shared coverage - Current directory: $(pwd)"
138139
poetry env use 3.11
139140
poetry install
140-
poetry run coverage run -m unittest discover || echo "shared tests failed" >> ../../failed_tests.txt
141-
poetry run coverage xml -o ../../shared-coverage.xml
141+
poetry run coverage run -m unittest discover || echo "shared tests failed" >> ../failed_tests.txt
142+
poetry run coverage xml -o ../shared-coverage.xml
142143
143144
- name: Run unittest with id_sync
144145
working-directory: lambdas/id_sync
@@ -147,10 +148,11 @@ jobs:
147148
PYTHONPATH: ${{ env.LAMBDA_PATH }}/id_sync/src:${{ env.LAMBDA_PATH }}/id_sync/tests:${{ env.SHARED_PATH }}
148149
continue-on-error: true
149150
run: |
151+
echo "id_sync coverage - Current directory: $(pwd)"
150152
poetry env use 3.11
151153
poetry install
152-
poetry run coverage run -m unittest discover || echo "id_sync tests failed" >> ../../failed_tests.txt
153-
poetry run coverage xml -o ../../id_sync-coverage.xml
154+
poetry run coverage run -m unittest discover || echo "id_sync tests failed" >> ../failed_tests.txt
155+
poetry run coverage xml -o ../id_sync-coverage.xml
154156
155157
- name: Run Test Failure Summary
156158
id: check_failure

0 commit comments

Comments
 (0)