Skip to content

Commit

Permalink
chore(ci): Try another way to find the right Python
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Dec 7, 2024
1 parent 04c4d30 commit 1ad263e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,15 +204,13 @@ jobs:
if: endsWith(matrix.python-version, 't')
run: |
uv python install ${{ matrix.python-version }}
uv venv --python ${{ matrix.python-version }} ../venv
. ../venv/bin/activate
echo "PATH=$PATH" >> $GITHUB_ENV
uv pip install pip
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install tox
run: |
uv tool install tox --with=tox-gh-actions --with=tox-uv
env:
UV_PYTHON: ${{ matrix.python-version }}
- name: Show tox config
run: tox c
- name: Run tox
Expand Down

0 comments on commit 1ad263e

Please sign in to comment.