mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 19:08:04 +00:00
parent
cca9de13e2
commit
94f94ba916
1 changed files with 29 additions and 1 deletions
30
.github/workflows/ci.yml
vendored
30
.github/workflows/ci.yml
vendored
|
@ -244,6 +244,35 @@ jobs:
|
|||
- name: "Validate global Python install"
|
||||
run: python scripts/check_system_python.py --uv ./uv
|
||||
|
||||
system-test-centos:
|
||||
needs: build-binary-linux
|
||||
name: "check system | python on centos"
|
||||
runs-on: ubuntu-latest
|
||||
container: centos:8
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: "Install Python"
|
||||
run: |
|
||||
# Add CentOS stream repositories, you cannot install from the EOL CentOS 8 mirrors
|
||||
dnf -y --disablerepo '*' --enablerepo extras swap centos-linux-repos centos-stream-repos
|
||||
# `python` gives you `python3.6` which we do not support
|
||||
dnf install python39 python39-pip which -y
|
||||
|
||||
- name: "Download binary"
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: uv-linux-${{ 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
|
||||
|
||||
system-test-pypy:
|
||||
needs: build-binary-linux
|
||||
name: "check system | pypy on ubuntu"
|
||||
|
@ -492,7 +521,6 @@ jobs:
|
|||
# Needed for `actions/checkout`
|
||||
yum install tar gzip which -y
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: "Install Python"
|
||||
run: yum install python3 python3-pip -y
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue