Skip to content

Commit

Permalink
migrate away from mambaforge in CI
Browse files Browse the repository at this point in the history
It is being sunsetted and will stop working entirely in Jan 2025.

Ref: https://conda-forge.org/news/2024/07/29/sunsetting-mambaforge/
  • Loading branch information
Michael-J-Ward committed Oct 3, 2024
1 parent c49ca9a commit f270ee5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,17 +70,16 @@ jobs:
- name: Set up Python
uses: conda-incubator/[email protected]
with:
miniforge-variant: Mambaforge
use-mamba: true
miniforge-variant: Miniforge3
python-version: "3.8"
channel-priority: strict
- name: Install dependencies
run: |
mamba install -c conda-forge boa conda-verify
conda install -c conda-forge conda-verify
which python
pip list
mamba list
conda list
# Clean the conda cache
- name: Clean Conda Cache
run: conda clean --all --yes
Expand All @@ -89,7 +88,7 @@ jobs:
# suffix for nightly package versions
export VERSION_SUFFIX=a`date +%y%m%d`
conda mambabuild conda/recipes \
conda build conda/recipes \
--python ${{ matrix.python }} \
--variants "{target_platform: [${{ matrix.arch }}]}" \
--error-overlinking \
Expand All @@ -99,7 +98,7 @@ jobs:
- name: Test conda packages
if: matrix.arch == 'linux-64' # can only test native platform packages
run: |
conda mambabuild --test packages/${{ matrix.arch }}/*.tar.bz2
conda build --test packages/${{ matrix.arch }}/*.tar.bz2
- name: Upload conda packages as artifacts
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit f270ee5

Please sign in to comment.