From 3a3e57cb82828fae7816a87360ff7e852f886118 Mon Sep 17 00:00:00 2001 From: Skealz Date: Mon, 23 Sep 2024 14:40:57 +0200 Subject: [PATCH 1/3] Update ci.yml to use another channel --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0c874d..f3d0c09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,7 +39,7 @@ jobs: run: | eval "$(micromamba shell hook --shell bash)" micromamba activate grdwind_env - conda install --use-local grdwindinversion -y + conda install --use-local grdwindinversion -y -c conda-forge -c tcevaer # Cache the test data if previously downloaded (up to 10 GB limit for the cache) # WARNING : modify the key if the data is modified !! From 474192648b5f902e5f464384df9e0ba8db99cf3f Mon Sep 17 00:00:00 2001 From: Skealz Date: Mon, 23 Sep 2024 14:59:27 +0200 Subject: [PATCH 2/3] Update ci.yml, also add channel to build step --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f3d0c09..5987a2d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: cd recipe eval "$(micromamba shell hook --shell bash)" micromamba activate grdwind_env - conda mambabuild . + conda mambabuild . -c conda-forge -c tcevaer # Install the built package into the environment - name: Install the built package From 1b491f7d5ab704da26818339d9a3dbed82ad8168 Mon Sep 17 00:00:00 2001 From: Skealz Date: Mon, 23 Sep 2024 16:06:02 +0200 Subject: [PATCH 3/3] Update ci.yml, try to install updated package from other channel --- .github/workflows/ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5987a2d..a650501 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,25 +21,26 @@ jobs: - uses: mamba-org/setup-micromamba@v1 with: micromamba-version: "1.5.9-1" # any version from https://github.com/mamba-org/micromamba-releases + channels: tcevaer, conda-forge, defaults init-shell: bash post-cleanup: "all" - name: Create environment and install tools - run: micromamba create -n grdwind_env pytest conda-build boa python=3.10 -y + run: micromamba create -n grdwind_env pytest conda-build boa python=3.10 -y -c tcevaer -c conda-forge - name: Build package run: | cd recipe eval "$(micromamba shell hook --shell bash)" micromamba activate grdwind_env - conda mambabuild . -c conda-forge -c tcevaer + conda mambabuild . -c tcevaer -c conda-forge # Install the built package into the environment - name: Install the built package run: | eval "$(micromamba shell hook --shell bash)" micromamba activate grdwind_env - conda install --use-local grdwindinversion -y -c conda-forge -c tcevaer + conda install --use-local grdwindinversion -y -c tcevaer -c conda-forge # Cache the test data if previously downloaded (up to 10 GB limit for the cache) # WARNING : modify the key if the data is modified !!