From ba1e9ef182f703b3c83cae33530cacd1e0c7af46 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 1 Apr 2024 09:50:45 -0500 Subject: [PATCH] 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. --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 69be00a6c..2b2bdeab4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -469,6 +469,30 @@ jobs: - name: "Validate global Python install" 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: needs: build-binary-macos-x86_64 name: "check system | python on macos x86_64"