Skip to content

Commit

Permalink
Ensure uv install using official action jfc
Browse files Browse the repository at this point in the history
  • Loading branch information
urschrei committed Oct 12, 2024
1 parent f3b7739 commit 4c8c311
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,14 @@ jobs:
git status
shell: bash

- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
with:
version: "latest"

- name: Build and Test Wheels
uses: pypa/[email protected]
env:
CIBW_BEFORE_ALL_MACOS: curl -LsSf https://astral.sh/uv/install.sh | sh
CIBW_BEFORE_ALL_WINDOWS: powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: 'pytest {package}'
CIBW_BUILD: ${{ matrix.pybuilds }}
CIBW_ARCHS_MACOS: ${{ matrix.arch }}
Expand Down

0 comments on commit 4c8c311

Please sign in to comment.