Skip to content

Commit 88a9cc8

Browse files
committed
fix: Ensure upload-artifact action includes gitignored .coverage file
1 parent d4dedac commit 88a9cc8

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -373,21 +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-
384376
- name: Upload coverage artifacts
385377
if: steps.test-unit.outputs.coverage_generated == 'true'
386378
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
387379
with:
388380
name: coverage-${{ matrix.python-version }}
389381
path: .coverage
390382
retention-days: 1
383+
include-hidden-files: true
391384

392385
coverage-combine:
393386
name: Combine and Upload Coverage

0 commit comments

Comments
 (0)