Skip to content

Commit 3cba861

Browse files
cI: attempt again again to use uv to install python
1 parent b30f227 commit 3cba861

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/python-tests.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ jobs:
5959
name: 'py${{ matrix.python-version }}: ${{ matrix.platform }}'
6060
runs-on: ${{ matrix.os }}
6161
timeout-minutes: 15 # expected run time: 2-6 min, depending on platform
62-
env:
63-
PIP_USE_PEP517: '1'
64-
UV_SYSTEM_PYTHON: 1
6562

6663
steps:
6764
- name: checkout
@@ -89,13 +86,13 @@ jobs:
8986

9087
- name: install python
9188
if: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}
92-
run: uv python install ${{ matrix.python-version }}
89+
run: uv python install ${{ matrix.python-version }} --preview --verbose
9390

9491
- name: install dependencies
9592
if: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}
9693
env:
9794
UV_INDEX: ${{ matrix.extra-index-url }}
98-
run: uv pip install --editable ".[test]"
95+
run: uv pip install --editable ".[test]" --system --verbose
9996

10097
- name: run pytest
10198
if: ${{ steps.changed-files.outputs.python_any_changed == 'true' || inputs.always_run == true }}

0 commit comments

Comments
 (0)