Skip to content

Commit 20b8138

Browse files
committed
Upload codecove XML report
1 parent 0d32b19 commit 20b8138

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,12 @@ jobs:
2323
echo "VIRTUAL_ENV=$PWD/.venv" >> $GITHUB_ENV
2424
echo "$PWD/.venv/bin" >> $GITHUB_PATH
2525
uv sync --dev
26-
- name: Run tests with pytest
27-
run: pytest
26+
- name: Run tests with pytest and collect coverage
27+
run: pytest --cov=pdfbaker --cov-report=xml
28+
- name: Upload coverage to Codecov
29+
uses: codecov/codecov-action@v3
30+
with:
31+
file: coverage.xml
32+
name: pytest
33+
flags: unittests
34+
slug: pythonnz/pdfbaker

0 commit comments

Comments
 (0)