mirror of https://github.com/astral-sh/uv
Add failing python-build-standalone alpine test
This commit is contained in:
parent
9aac9abbd2
commit
a80bd77eb9
|
|
@ -2,7 +2,7 @@ name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [ main ]
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
@ -32,7 +32,7 @@ jobs:
|
||||||
name: "cargo clippy"
|
name: "cargo clippy"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, windows-latest]
|
os: [ ubuntu-latest, windows-latest ]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
|
@ -300,7 +300,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: "Install Python"
|
- name: "Install Python"
|
||||||
run: apk add --update --no-cache python3 py3-pip
|
run: apk add --update --no-cache python3 py3-pip pipx
|
||||||
|
|
||||||
- name: "Download binary"
|
- name: "Download binary"
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
|
@ -316,6 +316,18 @@ 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
|
||||||
|
|
||||||
|
- name: "Download Python build standalone"
|
||||||
|
run: pipx run /io/scripts/bootstrap/install.py python-build-standalone
|
||||||
|
env:
|
||||||
|
UV_BOOTSTRAP_DIR: python-build-standalone
|
||||||
|
|
||||||
|
- name: "Test Python build standalone"
|
||||||
|
run: |
|
||||||
|
python-build-standalone/versions/cpython@3.12.1/install/bin/python3 -m venv venv3.12
|
||||||
|
venv3.12/bin/python scripts/check_system_python.py --uv ./uv
|
||||||
|
python-build-standalone/versions/cpython@3.8.18/install/bin/python3 -m venv venv3.8
|
||||||
|
venv3.8/bin/python scripts/check_system_python.py --uv ./uv
|
||||||
|
|
||||||
system-test-macos:
|
system-test-macos:
|
||||||
needs: build-binary-macos-aarch64
|
needs: build-binary-macos-aarch64
|
||||||
name: "check system | python on macos"
|
name: "check system | python on macos"
|
||||||
|
|
@ -435,14 +447,14 @@ jobs:
|
||||||
|
|
||||||
system-test-conda:
|
system-test-conda:
|
||||||
needs:
|
needs:
|
||||||
[build-binary-windows, build-binary-macos-aarch64, build-binary-linux]
|
[ build-binary-windows, build-binary-macos-aarch64, build-binary-linux ]
|
||||||
name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }}
|
name: check system | conda${{ matrix.python-version }} on ${{ matrix.os }}
|
||||||
runs-on: ${{ matrix.runner }}
|
runs-on: ${{ matrix.runner }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
os: ["linux", "windows", "macos"]
|
os: [ "linux", "windows", "macos" ]
|
||||||
python-version: ["3.8", "3.11"]
|
python-version: [ "3.8", "3.11" ]
|
||||||
include:
|
include:
|
||||||
- { os: "linux", target: "linux", runner: "ubuntu-latest" }
|
- { os: "linux", target: "linux", runner: "ubuntu-latest" }
|
||||||
- { os: "windows", target: "windows", runner: "windows-latest" }
|
- { os: "windows", target: "windows", runner: "windows-latest" }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue