Skip to content

Commit

Permalink
Add Python 3.13 system test for Linux (#7302)
Browse files Browse the repository at this point in the history
Previously we only had coverage on Windows

e.g. for more test coverage in cases like
#7300 (comment)

I picked Linux over macOS because the 3.13 prereleases are not available
via HomeBrew?
  • Loading branch information
zanieb authored Sep 11, 2024
1 parent 1a3ec9d commit d7ec546
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ jobs:
system-test-pyenv:
timeout-minutes: 10
needs: build-binary-linux
name: "check system | python via pyenv"
name: "check system | python3.9 via pyenv"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -1380,6 +1380,33 @@ jobs:
- name: "Validate global Python install"
run: python3.9 scripts/check_system_python.py --uv ./uv

system-test-linux-313:
timeout-minutes: 10
needs: build-binary-linux
name: "check system | python3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.13
allow-prereleases: true

- 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.13)

- name: "Validate global Python install"
run: python3.13 scripts/check_system_python.py --uv ./uv

system-test-conda:
timeout-minutes: 10
needs:
Expand Down

0 comments on commit d7ec546

Please sign in to comment.