Skip to content

Commit

Permalink
feat (CI): use micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Oct 15, 2024
1 parent bd9b949 commit 6d8157a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,10 @@ jobs:
- uses: actions/checkout@v4
- name: Fail-fast for outdated pipelines
run: .github/workflows/fail-fast.sh
- uses: conda-incubator/setup-miniconda@master
- uses: mamba-org/setup-micromamba@v2
with:
environment-file: environment.yml
miniforge-variant: Mambaforge
use-mamba: true

- name: Run tests
run: |
# FIXME: The unit tests currently only work with editable installs
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/cvmfs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,9 @@ jobs:
deploy_CVMFS:
runs-on: "ubuntu-latest"
steps:
- uses: conda-incubator/setup-miniconda@master
- uses: mamba-org/setup-micromamba@v2
with:
miniforge-variant: Mambaforge
use-mamba: true

mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,9 @@ jobs:
if: github.event_name == 'workflow_dispatch'
needs: deploy-pypi
steps:
- uses: conda-incubator/setup-miniconda@master
- uses: mamba-org/setup-micromamba@v2
with:
miniforge-variant: Mambaforge
use-mamba: true

mamba-version: "*"
channels: conda-forge,defaults
channel-priority: true
Expand Down

0 comments on commit 6d8157a

Please sign in to comment.