From 8d27fcd68ed57a0a3c77b39a827f408eec5d1b90 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 May 2024 15:58:36 -0500 Subject: [PATCH] Add test case for Conda CI # Conflicts: # .github/workflows/ci.yml --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 82e6b58c12e9..81253c8ed9e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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"