From c558d706904c95d3cf5544c046ac1f6670e4eff0 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 1 Aug 2024 18:59:28 -0500 Subject: [PATCH] Install Python versions with previous uv release (#5717) Part of https://github.com/astral-sh/uv/issues/5713 Shaves 50s or ~25% off the Ubuntu test run. Maybe 30s or 8% off macOS. Windows already uses the GitHub distributions. Note this is some of our only test coverage for Python version installs, we may want to add separate coverage to compensate. --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6372f9ba9..e4bcdbd5f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,7 +156,8 @@ jobs: - name: "Install required Python versions" run: | - cargo run python install + curl -LsSf https://astral.sh/uv/install.sh | sh + uv python install - name: "Install cargo nextest" uses: taiki-e/install-action@v2 @@ -193,7 +194,8 @@ jobs: - name: "Install required Python versions" run: | - cargo run python install + curl -LsSf https://astral.sh/uv/install.sh | sh + uv python install - name: "Install cargo nextest" uses: taiki-e/install-action@v2