mirror of https://github.com/astral-sh/uv
Add a system install test for Fedora (#2531)
This commit is contained in:
parent
eb59cdaee9
commit
a80d317e6b
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue