From 0d0fbff7c8c2294648b5180ce12e2555e131f4af Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Thu, 7 Mar 2024 17:36:52 +0100 Subject: [PATCH] chore(conda): out-of-tree build --- .github/workflows/python-test-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-test-ci.yml b/.github/workflows/python-test-ci.yml index a9bc27ce..738acb93 100644 --- a/.github/workflows/python-test-ci.yml +++ b/.github/workflows/python-test-ci.yml @@ -25,19 +25,19 @@ jobs: - uses: actions/checkout@v4 - name: Prepare to build conda package run: pip install toml && python .github/workflows/generate_recipe.py - - name: Make an output folder - run: rm -rf /tmp/build && mkdir -p /tmp/build && cp pyproject.toml recipe.yaml /tmp/build && cd /tmp/build - name: Build conda package uses: prefix-dev/rattler-build-action@v0.2.2 env: - CONDA_BLD_PATH: ../output + CONDA_BLD_PATH: /tmp/output RATTLER_BUILD_EXPERIMENTAL: "true" with: recipe-path: ./recipe.yaml - name: Install built package run: | - ls ../output/noarch/*.conda - conda install ../output/noarch/*.conda + ls /tmp/output + ls /tmp/output/noarch + ls /tmp/output/noarch/*.conda + conda install /tmp/output/noarch/*.conda - name: Test with pytest run: | conda install pytest