Skip to content

Commit

Permalink
Add test case for Conda CI (#3773)
Browse files Browse the repository at this point in the history
Integration test coverage for #3769 

Failure against `main` on
https://github.com/astral-sh/uv/actions/runs/9198224186/job/25300510016?pr=3773

Rebased against #3771 to check for fix
  • Loading branch information
zanieb authored May 22, 2024
1 parent 5cd3af8 commit 17ec349
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,36 @@ jobs:
./uv venv
./${{ matrix.command }}
integration-test-conda:
needs: build-binary-linux
name: "integration test | conda on ubuntu"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: latest
activate-environment: uv
python-version: "3.12"

- name: "Download binary"
uses: actions/download-artifact@v4
with:
name: uv-linux-${{ github.sha }}

- name: "Prepare binary"
run: chmod +x ./uv

- name: Conda info
shell: bash -el {0}
run: conda info

- name: "Install a package"
shell: bash -el {0}
run: |
echo "$CONDA_PREFIX"
./uv pip install anyio
cache-test-ubuntu:
needs: build-binary-linux
name: "check cache | ubuntu"
Expand Down

0 comments on commit 17ec349

Please sign in to comment.