From 7e1f361bb31e004fc17e250fbe5a62c4713fa5a0 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Mon, 4 Mar 2024 16:44:18 -0800 Subject: [PATCH] Add system install test for PyPy (#2189) --- .github/workflows/system-install.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/system-install.yml b/.github/workflows/system-install.yml index aff39fa3a..2d98fb58e 100644 --- a/.github/workflows/system-install.yml +++ b/.github/workflows/system-install.yml @@ -45,6 +45,33 @@ jobs: - name: "Create virtual environment" run: ./target/debug/uv venv + install-pypy: + name: "Install PyPy on Ubuntu" + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-python@v5 + with: + python-version: 'pypy3.9' + + - name: "Install Rust toolchain" + run: rustup show + + - uses: Swatinem/rust-cache@v2 + + - name: "Build" + run: cargo build + + - name: "Print Python path" + run: echo $(which pypy) + + - name: "Validate global Python install" + run: pypy scripts/check_system_python.py --uv ./target/debug/uv + + - name: "Create virtual environment" + run: ./target/debug/uv venv + install-macos: name: "Install Python on macOS" runs-on: macos-14