From 903d150d198b47418eb1a226bbb8df5c92e374d5 Mon Sep 17 00:00:00 2001 From: Lily Wang <31115101+lilyminium@users.noreply.github.com> Date: Mon, 25 Nov 2024 18:28:06 +1100 Subject: [PATCH] Update CI (#137) * update ci * remove defaults from channels --- .github/workflows/gh-ci.yaml | 4 ++-- .../.github/workflows/{{cookiecutter._ci_name}}.yaml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-ci.yaml b/.github/workflows/gh-ci.yaml index 4163f26..79e462d 100644 --- a/.github/workflows/gh-ci.yaml +++ b/.github/workflows/gh-ci.yaml @@ -158,9 +158,9 @@ jobs: environment-file: docs/requirements.yaml add-pip-as-python-dependency: true architecture: x64 - miniforge-variant: Mambaforge + miniforge-version: "latest" use-mamba: true - channels: conda-forge, defaults + channels: conda-forge activate-environment: cookiecutter-mdakit-docs auto-update-conda: true show-channel-urls: true diff --git a/{{cookiecutter.repo_name}}/.github/workflows/{{cookiecutter._ci_name}}.yaml b/{{cookiecutter.repo_name}}/.github/workflows/{{cookiecutter._ci_name}}.yaml index 79dd57f..c732742 100644 --- a/{{cookiecutter.repo_name}}/.github/workflows/{{cookiecutter._ci_name}}.yaml +++ b/{{cookiecutter.repo_name}}/.github/workflows/{{cookiecutter._ci_name}}.yaml @@ -66,10 +66,11 @@ jobs: environment-file: devtools/conda-envs/test_env.yaml add-pip-as-python-dependency: true {% if cookiecutter.__dependency_source == 'conda-forge' %} - miniforge-variant: Mambaforge + miniforge-version: "latest" use-mamba: true - channels: conda-forge, defaults + channels: conda-forge {% elif cookiecutter.__dependency_source == 'anaconda' %} + miniconda-version: "latest" channels: defaults {% endif %} activate-environment: {{cookiecutter.repo_name}}-test