Skip to content

Commit

Permalink
Update reusable-pytest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored Mar 9, 2025
1 parent df33cf5 commit 6853b30
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/reusable-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ jobs:
python-version: ${{ matrix.py }}
allow-prereleases: true

- name: Setup uv
uses: astral-sh/setup-uv@v4

- name: Pick environment to run
run: |
import platform
Expand All @@ -70,8 +73,13 @@ jobs:
with:
python-version: 3.12

- name: Install tox
run: python -m pip install tox tox-uv uv
- name: Install tox (uv)
if: matrix.py != 'pypy3.8'
run: uv tool install tox --with tox-uv

- name: Install tox (pypy 3.8)
if: matrix.py == 'pypy3.8'
run: uv tool install tox

- name: Run test suite via tox
if: matrix.tox-target == 'tox'
Expand Down

0 comments on commit 6853b30

Please # to comment.