Skip to content

Commit c82d691

Browse files
committed
ci: run python by uv
1 parent 5136bba commit c82d691

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Install dependencies
3030
run: uv sync --all-extras
3131
- name: Test
32-
run: python tests/runtests.py
32+
run: uv run python tests/runtests.py
3333
- name: Build
3434
run: uv build
3535

@@ -41,8 +41,10 @@ jobs:
4141
- uses: actions/setup-python@v5
4242
- uses: astral-sh/setup-uv@v6
4343
- name: Install dependencies
44-
run: uv sync --all-extras
44+
run: uv sync --all-extras --python=python3.7
4545
- name: Test
46-
run: python3.7 tests/runtests.py
46+
run: |
47+
uv run python tests/runtests.py
48+
uv run python -V
4749
- name: Build
4850
run: uv build --python=python3.7

0 commit comments

Comments
 (0)