Skip to content

Commit 5f1af63

Browse files
committed
--python
1 parent 976e978 commit 5f1af63

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,13 @@ jobs:
7171
enable-cache: true
7272
cache-suffix: ${{ runner.os }}-${{ matrix.python }}-${{ matrix.build != '' && matrix.build || 'default' }}
7373
- name: Install
74+
shell: bash
7475
# pyperformance must be installed:
7576
# pyperformance/tests/test_compare.py imports it
7677
run: |
77-
uv pip install --system --upgrade pip setuptools
78-
uv pip install --system -e .
78+
PYTHON_BIN="$(python -c 'import sys; print(sys.executable)')"
79+
uv pip install --python "$PYTHON_BIN" --upgrade pip setuptools
80+
uv pip install --python "$PYTHON_BIN" -e .
7981
- name: Display Python version
8082
run: |
8183
python -VV

0 commit comments

Comments
 (0)