Skip to content

Commit

Permalink
Install Python versions with previous uv release (#5717)
Browse files Browse the repository at this point in the history
Part of #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.
  • Loading branch information
zanieb authored Aug 1, 2024
1 parent b14945a commit c558d70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c558d70

Please sign in to comment.