From 2aefe298544b37844e66a538971dbe0533fc694d Mon Sep 17 00:00:00 2001 From: Darshan Prajapati Date: Thu, 2 Nov 2023 10:12:50 +0000 Subject: [PATCH 1/2] Use libmamba for conda --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8d0839f..d0813a73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,7 @@ jobs: channels: conda-forge environment-file: ci${{ matrix.python-version}}.yml activate-environment: weather-tools + use-mamba: true - name: Check MetView's installation shell: bash -l {0} run: python -m metview selfcheck @@ -116,6 +117,7 @@ jobs: channels: conda-forge environment-file: ci${{ matrix.python-version}}.yml activate-environment: weather-tools + use-mamba: true - name: Install weather-tools[test] run: | conda run -n weather-tools pip install -e .[test] --use-deprecated=legacy-resolver From 9d6a267270736da3ddb63468ec45f58b0ba6a86d Mon Sep 17 00:00:00 2001 From: Darshan Prajapati Date: Thu, 2 Nov 2023 10:23:58 +0000 Subject: [PATCH 2/2] Use mamba version also --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d0813a73..b691aadb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,6 +56,8 @@ jobs: channels: conda-forge environment-file: ci${{ matrix.python-version}}.yml activate-environment: weather-tools + miniforge-variant: Mambaforge + miniforge-version: latest use-mamba: true - name: Check MetView's installation shell: bash -l {0} @@ -117,6 +119,8 @@ jobs: channels: conda-forge environment-file: ci${{ matrix.python-version}}.yml activate-environment: weather-tools + miniforge-variant: Mambaforge + miniforge-version: latest use-mamba: true - name: Install weather-tools[test] run: |