Add ecosystem test for Prefect (#2942)

Reproduced https://github.com/astral-sh/uv/issues/2941 and confirmed
fix.

We probably ought to have some ecosystem test coverage — this seems like
a good starting point we can extend to other projects in the future.
This commit is contained in:
Zanie Blue
2024-04-09 21:29:39 -05:00
committed by GitHub
parent 7bcca28b12
commit ee9059978a
+30
View File
@@ -224,6 +224,36 @@ jobs:
path: ./target/debug/uv.exe
retention-days: 1
ecosystem-test-prefect:
needs: build-binary-linux
name: "ecosystem test | prefect"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: "Download binary"
uses: actions/download-artifact@v4
with:
name: uv-linux-${{ github.sha }}
- name: "Clone project"
run: gh repo clone prefecthq/prefect
env:
GH_TOKEN: ${{ github.token }}
- name: "Prepare binary"
run: chmod +x ./uv
- name: "Test"
run: |
cd prefect
../uv venv
../uv pip install --upgrade -e '.[dev]'
cache-test-ubuntu:
needs: build-binary-linux
name: "check cache | ubuntu"