Skip to content

Commit

Permalink
use micromamba instead of conda and change the environement filename
Browse files Browse the repository at this point in the history
  • Loading branch information
agrouaze committed Dec 2, 2024
1 parent c459903 commit 4f68473
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/conda-feedstock-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,15 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Strip python version
run: cat environment.yml | egrep -vw python > environment-nopython.yml
- uses: conda-incubator/setup-miniconda@v3
run: cat ci/requirements/environment.yaml | egrep -vw python > environment-nopython.yml
- uses: mamba-org/setup-micromamba@v2
with:
auto-update-conda: true
activate-environment: xsarsea
environment-file: environment-nopython.yml
condarc-file: condarc.yml
python-version: ${{ matrix.python-version }}
environment-file: ${{ env.CONDA_ENV_FILE }}
environment-name: xsarsea-tests
cache-environment: true
cache-environment-key: "${{runner.os}}-${{runner.arch}}-py${{matrix.python-version}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}"
create-args: >-
python=${{matrix.python-version}}
- name: install xsarsea from feedstock
run: |
Expand Down

0 comments on commit 4f68473

Please sign in to comment.