Skip to content

Commit 686943a

Browse files
committed
Fix CodeCov reporting
1 parent 174193a commit 686943a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: astral-sh/setup-uv@v7
5252
with:
5353
python-version: ${{ matrix.python-version }}
54-
- run: uv run --with django~=${{ matrix.django-version }}.0 pytest
54+
- run: uv run --with django~=${{ matrix.django-version }}.0 pytest --cov-report=xml
5555
- uses: codecov/codecov-action@v5
5656
with:
5757
token: ${{ secrets.CODECOV_TOKEN }}
@@ -70,7 +70,7 @@ jobs:
7070
- uses: actions/checkout@v6
7171
- run: sudo apt-get update && sudo apt-get install -y gettext
7272
- uses: astral-sh/setup-uv@v7
73-
- run: uv run --extra wagtail --with wagtail~=${{ matrix.wagtail-version }}.0 --with django~=5.2.0 pytest
73+
- run: uv run --extra wagtail --with wagtail~=${{ matrix.wagtail-version }}.0 --with django~=5.2.0 pytest --cov-report=xml
7474
- uses: codecov/codecov-action@v5
7575
with:
7676
token: ${{ secrets.CODECOV_TOKEN }}
@@ -97,7 +97,7 @@ jobs:
9797
PGUSER: django
9898
PGPASSWORD: django
9999
- uses: astral-sh/setup-uv@v7
100-
- run: uv run --extra postgres pytest
100+
- run: uv run --extra postgres pytest --cov-report=xml
101101
env:
102102
DB_PORT: ${{ job.services.postgres.ports[5432] }}
103103
DB: pg

0 commit comments

Comments
 (0)