mirror of https://github.com/astral-sh/uv
Add test coverage of x86-64 Python from `setup-python` on arm64 macOS (#15687)
This commit is contained in:
parent
4a1813f228
commit
70222e9358
|
|
@ -2305,8 +2305,6 @@ jobs:
|
||||||
- name: "Prepare binary"
|
- name: "Prepare binary"
|
||||||
run: chmod +x ./uv
|
run: chmod +x ./uv
|
||||||
|
|
||||||
# This should be the macOS system Python
|
|
||||||
# We'd like to test with Homebrew but this Python takes precedence in system Python discovery
|
|
||||||
- name: "Print Python path"
|
- name: "Print Python path"
|
||||||
run: echo $(which python3)
|
run: echo $(which python3)
|
||||||
|
|
||||||
|
|
@ -2340,6 +2338,35 @@ 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-emulated:
|
||||||
|
timeout-minutes: 10
|
||||||
|
needs: build-binary-macos-aarch64
|
||||||
|
name: "check system | x86-64 python on macos aarch64"
|
||||||
|
runs-on: macos-14 # github-macos-14-aarch64-3
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
|
||||||
|
with:
|
||||||
|
python-version: 3.13
|
||||||
|
architecture: x64
|
||||||
|
|
||||||
|
- name: "Download binary"
|
||||||
|
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||||
|
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:
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
needs: build-binary-macos-x86_64
|
needs: build-binary-macos-x86_64
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue