From 34781720a6476cec74964caa8e5f670d377d633f Mon Sep 17 00:00:00 2001 From: Yousef Moazzam Date: Tue, 25 Feb 2025 13:26:08 +0000 Subject: [PATCH 1/2] Remove default conda channels from docs CI --- .github/workflows/httomo_docs.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/httomo_docs.yml b/.github/workflows/httomo_docs.yml index 13c56b93d..72ab3fe84 100644 --- a/.github/workflows/httomo_docs.yml +++ b/.github/workflows/httomo_docs.yml @@ -25,11 +25,12 @@ jobs: python-version: '3.10' - name: httomo-docs - uses: conda-incubator/setup-miniconda@v2 + uses: mamba-org/setup-micromamba@v2 with: - auto-update-conda: false - activate-environment: httomo-docs + environment-name: httomo-docs environment-file: ./docs/source/doc-conda-requirements.yml + post-cleanup: 'all' + init-shell: bash - name: Install httomo-backends run: | From 98dfa232d6a06eae75c6b4225e60c1a90308fddf Mon Sep 17 00:00:00 2001 From: Yousef Moazzam Date: Tue, 25 Feb 2025 13:33:18 +0000 Subject: [PATCH 2/2] Remove default conda channels from conda build CI --- .github/workflows/httomo_version_tag.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/httomo_version_tag.yml b/.github/workflows/httomo_version_tag.yml index 3b63c7664..79b9d130e 100644 --- a/.github/workflows/httomo_version_tag.yml +++ b/.github/workflows/httomo_version_tag.yml @@ -27,12 +27,18 @@ jobs: with: python-version: '3.11' - # install dependencies with conda - - name: Install dependencies with conda + # setup conda + - name: Setup conda + uses: mamba-org/setup-micromamba@v2 + with: + post-cleanup: 'all' + init-shell: bash + + # install dependencies + - name: Install dependencies run: | - $CONDA/bin/conda install -c conda-forge conda-build - $CONDA/bin/conda install -c conda-forge anaconda-client - $CONDA/bin/conda list + micromamba install -c conda-forge conda-build anaconda-client + micromamba list - name: Decrypt a secret run: ./.scripts/decrypt_secret.sh