Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,16 @@ jobs:
python-version: ${{ matrix.python-version }}
channels: conda-forge

# conda-build is a conda plugin, so it must live in the base env next to
# conda itself (setup-miniconda activates a separate "test" env).
- name: Prepare
run: conda install conda-build conda-verify pytest
run: conda install -n base conda-build

- name: Build
run: conda build conda.recipe
run: conda build conda.recipe --python=${{ matrix.python-version }}

- name: Install
run: conda install -c ${CONDA_PREFIX}/conda-bld/ scikit_build_example
run: conda install --use-local scikit_build_example pytest

- name: Test
run: pytest tests
Loading