Skip to content

Commit 7ab1038

Browse files
github/workflows: Add job to upload coverage reports
- Updated `test-and-publish.yml` to include coverage report uploads for all tested Python versions. - Stored coverage reports under `coverage/py<python-version>` for organized access and tracking. Assisted-by: Codex
1 parent 488e6a6 commit 7ab1038

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/test-and-publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ jobs:
3838
run: uvx nox --python ${{ matrix.python-version }} --session tests -- --no-parallel
3939
env:
4040
PDFREST_API_KEY: ${{ secrets.PDFREST_API_KEY }}
41+
- name: Upload coverage reports
42+
if: always()
43+
uses: actions/upload-artifact@v4
44+
with:
45+
name: coverage-${{ matrix.python-version }}
46+
path: coverage/py${{ matrix.python-version }}
4147

4248
examples:
4349
name: Examples (Python ${{ matrix.python-version }})

0 commit comments

Comments
 (0)