Skip to content

Commit

Permalink
Copy over CentOS test
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed Mar 13, 2024
1 parent 64db05a commit 7ccba88
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -480,3 +480,31 @@ jobs:
- name: "Validate global Python install"
shell: bash -el {0}
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 -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

0 comments on commit 7ccba88

Please sign in to comment.