Skip to content

Commit

Permalink
Ensure uv picks up Python 3.13t correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Dec 14, 2024
1 parent 3aff2ba commit 63acff1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ jobs:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- uses: yezz123/setup-uv@v4
- uses: yezz123/setup-uv@ab6be5a42627f19dc36e57b548592a5e52cece4a # v4.1
with:
uv-venv: "venv"

# 1. Test suite with free-threading enabled, but no free-threading-specific plugins
- name: Run free-threaded tests on ${{ matrix.platform}}
Expand All @@ -116,14 +118,12 @@ jobs:
UV_NO_CACHE: "true"
run: |
python -VV
uv venv
source .venv/bin/activate
uv pip install --upgrade --only-binary :all: numpy scipy
- name: Run free-threaded tests with ${{ matrix.plugin }} on ${{ matrix.platform}}
if: ${{ matrix.plugin != 'none' }}
run: |
source .venv/bin/activate
python -VV
uv pip install -e .
uv pip install pytest ${{ matrix.plugin }}
if [ "${{ matrix.plugin }}" == "pytest-run-parallel" ]; then
Expand Down

0 comments on commit 63acff1

Please sign in to comment.