Skip to content

Commit 942eca7

Browse files
committed
fix CI
1 parent f989f94 commit 942eca7

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/pytest.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@ jobs:
2323
uses: astral-sh/setup-uv@v5
2424
with:
2525
python-version: ${{ matrix.python-version }}
26-
- uses: astral-sh/ruff-action@v3
26+
- name: UV sync
27+
run: uv sync
28+
- name: Install pytest
29+
run: uv tool install pytest
30+
- uses: astral-sh/ruff-action@v3
2731
- name: Run the tests
2832
run: pytest --cov --cov-report=json:coverage.json tests/
2933
- name: Extract coverage
@@ -32,10 +36,10 @@ jobs:
3236
uses: schneegans/dynamic-badges-action@v1.4.0
3337
with:
3438
auth: ${{ secrets.GIST_TOKEN }}
35-
gistID: 88ae1c5c4c732ba28346b3fac87b44a3
39+
gistID: 88ae1c5c4c732ba28346b3fac87b44a3
3640
filename: covbadge.json
3741
label: Coverage
3842
message: ${{ env.total }}%
3943
minColorRange: 50
4044
maxColorRange: 90
41-
valColorRange: ${{ env.total }}
45+
valColorRange: ${{ env.total }}

0 commit comments

Comments
 (0)