Skip to content

Commit 45b75bf

Browse files
committed
Fix CodeCov reporting
1 parent 48698c8 commit 45b75bf

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,11 @@ jobs:
5959
- uses: astral-sh/setup-uv@v7
6060
with:
6161
python-version: ${{ matrix.python-version }}
62-
- run: uv run --with Django~=${{ matrix.django-version }}.0 pytest -m "not selenium"
62+
- run: uv run --with Django~=${{ matrix.django-version }}.0 pytest --cov-report=xml -m "not selenium"
6363
- uses: codecov/codecov-action@v5
64+
with:
65+
token: ${{ secrets.CODECOV_TOKEN }}
66+
flags: python-${{ matrix.python-version }}
6467
Selenium:
6568
needs:
6669
- standardjs
@@ -72,5 +75,8 @@ jobs:
7275
curl -LsSfO https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
7376
sudo dpkg -i google-chrome-stable_current_amd64.deb || sudo apt-get -f install -y
7477
- uses: astral-sh/setup-uv@v7
75-
- run: uv run pytest -m selenium
78+
- run: uv run pytest --cov-report=xml -m selenium
7679
- uses: codecov/codecov-action@v5
80+
with:
81+
token: ${{ secrets.CODECOV_TOKEN }}
82+
flags: selenium

0 commit comments

Comments
 (0)