Skip to content

Commit

Permalink
Merge pull request #86 from umr-lops/fixoptional-worflow-conda-dec24
Browse files Browse the repository at this point in the history
FIX : worflow conda-feedstock
  • Loading branch information
agrouaze authored Dec 2, 2024
2 parents d21d2e9 + 4f68473 commit 1147552
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 1147552

Please sign in to comment.