From 0e30ed7787805de8884c364b400d0578a38b2cea Mon Sep 17 00:00:00 2001 From: Sam Tygier Date: Wed, 1 Nov 2023 16:14:21 +0000 Subject: [PATCH] Workflows auto-activate conda envs --- .github/workflows/conda.yml | 6 +++++- .github/workflows/windows.yml | 3 ++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/conda.yml b/.github/workflows/conda.yml index 95f9563425a..f96bddb03d3 100644 --- a/.github/workflows/conda.yml +++ b/.github/workflows/conda.yml @@ -51,13 +51,17 @@ jobs: with: miniforge-version: latest activate-environment: mantidimaging-dev - auto-activate-base: false + auto-activate-base: true + mamba-version: "*"" use-mamba: true - name: Mantid Imaging developer dependencies if: steps.cache-miniforge-environment.outputs.cache-hit != 'true' shell: bash -l {0} run: | + echo $PATH + mamba --version + mamba info mamba deactivate python3 ./setup.py create_dev_env cp -Ta /usr/share/miniconda3/envs/mantidimaging-dev /usr/share/miniconda3/envs/mantidimaging-dev.cache diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1cda5fa6a5a..45bd5fd933b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -41,7 +41,8 @@ jobs: with: miniforge-version: latest activate-environment: mantidimaging-dev - auto-activate-base: false + auto-activate-base: true + mamba-version: "*"" use-mamba: true - name: Cache Miniforge environment