Skip to content

Commit 4f87fb1

Browse files
committed
Fix basedpyright run in ci.
1 parent 50bb57c commit 4f87fb1

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,20 +34,19 @@ jobs:
3434
uses: astral-sh/ruff-action@v3
3535

3636
- name: Type checking
37-
run: basedpyright
37+
run: uv run basedpyright
3838

3939
- name: Coverage
4040
if: ${{ startsWith( matrix.python-version, '3.13' ) && startsWith(matrix.os, 'ubuntu') }}
41-
run: |
42-
uv run pytest --cov --cov-fail-under 99
43-
uv build
44-
45-
- uses: actions/upload-artifact@v4
46-
with:
47-
name: "sdist"
48-
path: dist/*.tar.gz
41+
run: uv run pytest --cov --cov-fail-under 99
42+
43+
- name: Build
44+
if: ${{ startsWith( matrix.python-version, '3.13' ) && startsWith(matrix.os, 'ubuntu') }}
45+
run: uv build
4946

50-
- uses: actions/upload-artifact@v4
47+
- name: Artifacts
48+
if: ${{ startsWith( matrix.python-version, '3.13' ) && startsWith(matrix.os, 'ubuntu') }}
49+
uses: actions/upload-artifact@v4
5150
with:
52-
name: "wheel"
53-
path: dist/*.wheel
51+
name: "dist"
52+
path: dist/*

0 commit comments

Comments
 (0)