Skip to content

Commit

Permalink
chore(conda): out-of-tree build
Browse files Browse the repository at this point in the history
  • Loading branch information
philtweir committed Mar 7, 2024
1 parent cb0a4ca commit 0d0fbff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/python-test-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand Down

0 comments on commit 0d0fbff

Please sign in to comment.