From a80d317e6b7c30201d4c9da60af772d1921d70e8 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 18 Mar 2024 19:22:25 -0700 Subject: [PATCH] Add a system install test for Fedora (#2531) --- .github/workflows/ci.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a8c2205f3..61754e5b8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -239,6 +239,31 @@ jobs: - name: "Validate global Python install" run: python3.9 scripts/check_system_python.py --uv ./uv + system-test-fedora: + needs: build-binary-linux + name: "check system | python on fedora" + runs-on: ubuntu-latest + container: fedora:39 + steps: + - uses: actions/checkout@v4 + + - name: "Install Python" + run: dnf install which -y && python3 -m ensurepip + + - 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-ubuntu: needs: build-binary-linux name: "check system | python on ubuntu"