Skip to content

Commit d4dedac

Browse files
committed
test: Inspect generated coverage files as they are missing before upload
1 parent 2f1a731 commit d4dedac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,14 @@ jobs:
373373
token: ${{ secrets.CODECOV_TOKEN }}
374374
flags: python-${{ matrix.python-version }}
375375

376+
- name: Debug - Check file before upload
377+
if: steps.test-unit.outputs.coverage_generated == 'true'
378+
run: |
379+
echo "PWD: $(pwd)"
380+
echo "Looking for .coverage file:"
381+
ls -la .coverage || echo ".coverage not found"
382+
find . -name ".coverage" -type f || echo "No .coverage found anywhere"
383+
376384
- name: Upload coverage artifacts
377385
if: steps.test-unit.outputs.coverage_generated == 'true'
378386
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4

0 commit comments

Comments
 (0)