Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin micromamba version #207

Merged
merged 3 commits into from
Oct 1, 2024
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
31 changes: 11 additions & 20 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,17 @@ jobs:
uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0
with:
cache-downloads: true
cache-environment: false
environment-file: environment-dev.yml
create-args: >-
python=${{ matrix.python-version }}
- name: Conda and Mamba versions
run: |
echo "micromamba $(micromamba --version)"
micromamba-version: "1.5.10-0" # pinned to avoid the breaking changes with mamba and micromamba (2.0.0).
- name: Install xHydro
run: |
python -m pip install --no-deps .
- name: Check versions
run: |
conda list
micromamba list
echo ESMF_VERSION=$(cat $ESMFMKFILE | grep "ESMF_VERSION_STRING=" | awk -F= '{print $2}' | tr -d "'")
python -m pip check || true
- name: Test with pytest
Expand Down Expand Up @@ -172,22 +171,18 @@ jobs:
uses: mamba-org/setup-micromamba@f8b8a1e23a26f60a44c853292711bacfd3eac822 # v1.9.0
with:
cache-downloads: true
cache-environment: true
cache-environment: false
environment-file: environment-dev.yml
create-args: >-
mamba
python=${{ matrix.python-version }}
lmoments3
- name: Conda and Mamba versions
run: |
mamba --version
echo "micromamba $(micromamba --version)"
python=${{ matrix.python-version }}
micromamba-version: "1.5.10-0" # pinned to avoid the breaking changes with mamba and micromamba (2.0.0).
- name: Install xHydro
run: |
python -m pip install --no-deps .
- name: Check versions
run: |
conda list
micromamba list
echo ESMF_VERSION=$(cat $ESMFMKFILE | grep "ESMF_VERSION_STRING=" | awk -F= '{print $2}' | tr -d "'")
python -m pip check || true
- name: Test with pytest
Expand Down Expand Up @@ -243,22 +238,18 @@ jobs:
uses: mamba-org/setup-micromamba@v1
with:
cache-downloads: true
cache-environment: true
cache-environment: false
environment-file: environment-dev.yml
create-args: >-
mamba
python=${{ matrix.python-version }}
lmoments3
- name: Conda and Mamba versions
run: |
mamba --version
echo "micromamba $(micromamba --version)"
python=${{ matrix.python-version }}
micromamba-version: "1.5.10-0" # pinned to avoid the breaking changes with mamba and micromamba (2.0.0).
- name: Install xHydro
run: |
python -m pip install --no-deps .
- name: Check versions
run: |
conda list
micromamba list
echo ESMF_VERSION=$(cat $ESMFMKFILE | grep "ESMF_VERSION_STRING=" | awk -F= '{print $2}' | tr -d "'")
python -m pip check || true
- name: Test Notebooks
Expand Down