From 61e6d6c18bf452de692b195701ada981694197d1 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 13 Mar 2024 10:28:48 -0400 Subject: [PATCH] Copy over CentOS test --- .github/workflows/ci.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 95999acf0d87..77742b40bfc4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -480,3 +480,32 @@ jobs: - name: "Validate global Python install" shell: bash -el {0} run: python ./scripts/check_system_python.py --uv ./uv + + system-test-amazonlinux: + needs: build-binary-linux + name: "check system | amazonlinux" + runs-on: ubuntu-latest + container: amazonlinux:2023 + steps: + - name: "Install base requirements" + run: | + # Needed for `actions/checkout` + yum install tar gzip which -y + - uses: actions/checkout@v4 + + - name: "Install Python" + run: yum install python3 python3-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