Skip to content

Commit

Permalink
Workflows auto-activate conda envs
Browse files Browse the repository at this point in the history
  • Loading branch information
samtygier-stfc committed Nov 1, 2023
1 parent f2bef1c commit 0e30ed7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e30ed7

Please sign in to comment.