mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-30 05:54:47 +00:00
Add Homebrew system check test (#2736)
Following #2735 adds a system check that uses Homebrew. I think we were never were actually using Homebrew's Python in the past, we were mislead or something changed in the runners recently that broke it.
This commit is contained in:
parent
05ed7ac64b
commit
ba1e9ef182
1 changed files with 24 additions and 0 deletions
24
.github/workflows/ci.yml
vendored
24
.github/workflows/ci.yml
vendored
|
@ -469,6 +469,30 @@ jobs:
|
||||||
- name: "Validate global Python install"
|
- name: "Validate global Python install"
|
||||||
run: python3 scripts/check_system_python.py --uv ./uv --externally-managed
|
run: python3 scripts/check_system_python.py --uv ./uv --externally-managed
|
||||||
|
|
||||||
|
system-test-macos-aarch64-homebrew:
|
||||||
|
needs: build-binary-macos-aarch64
|
||||||
|
name: "check system | homebrew python on macos aarch64"
|
||||||
|
runs-on: macos-14
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: "Install Python"
|
||||||
|
run: brew install python3
|
||||||
|
|
||||||
|
- name: "Download binary"
|
||||||
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
name: uv-macos-aarch64-${{ github.sha }}
|
||||||
|
|
||||||
|
- name: "Prepare binary"
|
||||||
|
run: chmod +x ./uv
|
||||||
|
|
||||||
|
- name: "Print Python path"
|
||||||
|
run: echo $(which python3)
|
||||||
|
|
||||||
|
- name: "Validate global Python install"
|
||||||
|
run: python3 scripts/check_system_python.py --uv ./uv --externally-managed
|
||||||
|
|
||||||
system-test-macos-x86_64:
|
system-test-macos-x86_64:
|
||||||
needs: build-binary-macos-x86_64
|
needs: build-binary-macos-x86_64
|
||||||
name: "check system | python on macos x86_64"
|
name: "check system | python on macos x86_64"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue