Skip to content

Commit 1ad263e

Browse files
committed
chore(ci): Try another way to find the right Python
1 parent 04c4d30 commit 1ad263e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,15 +204,13 @@ jobs:
204204
if: endsWith(matrix.python-version, 't')
205205
run: |
206206
uv python install ${{ matrix.python-version }}
207-
uv venv --python ${{ matrix.python-version }} ../venv
208-
. ../venv/bin/activate
209-
echo "PATH=$PATH" >> $GITHUB_ENV
210-
uv pip install pip
211207
- name: Display Python version
212208
run: python -c "import sys; print(sys.version)"
213209
- name: Install tox
214210
run: |
215211
uv tool install tox --with=tox-gh-actions --with=tox-uv
212+
env:
213+
UV_PYTHON: ${{ matrix.python-version }}
216214
- name: Show tox config
217215
run: tox c
218216
- name: Run tox

0 commit comments

Comments
 (0)