Skip to content

Commit 98ebd04

Browse files
committed
Adjust remaining conda-based workflows to install/use mamba
(temporary - we should go for #2292)
1 parent 08433fc commit 98ebd04

File tree

3 files changed

+27
-12
lines changed

3 files changed

+27
-12
lines changed

.github/workflows/mcstas-conda-basictest.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,17 @@ jobs:
5252
channels: conda-forge
5353
python-version: ${{ matrix.python }}
5454

55-
- name: Setup conda
56-
id: setup-conda
55+
- name: Get conda dependency list
56+
id: conda-deps
5757
run: |
5858
./src/devel/bin/mccode-create-conda-yml -m mcstas -n mcstas -o dependencies.yml
59-
conda env update --file dependencies.yml
60-
echo DONE
59+
cat dependencies.yml
60+
61+
- name: Update conda
62+
id: update-conda
63+
run: |
64+
conda install mamba -y
65+
mamba env update --file dependencies.yml
6166
6267
- name: Check versions
6368
id: version-checks

.github/workflows/mcstas-conda-testsuite.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,17 @@ jobs:
4949
channels: conda-forge
5050
python-version: ${{ matrix.python }}
5151

52-
- name: Setup conda
53-
id: setup-conda
52+
- name: Get conda dependency list
53+
id: conda-deps
5454
run: |
5555
./src/devel/bin/mccode-create-conda-yml -m mcstas -n mcstas -o dependencies.yml
56-
conda env update --file dependencies.yml
57-
echo DONE
56+
cat dependencies.yml
57+
58+
- name: Update conda
59+
id: update-conda
60+
run: |
61+
conda install mamba -y
62+
mamba env update --file dependencies.yml
5863
5964
- name: Check versions
6065
id: version-checks

.github/workflows/mcxtrace-conda-testsuite.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,17 @@ jobs:
4949
channels: conda-forge
5050
python-version: ${{ matrix.python }}
5151

52-
- name: Setup conda
53-
id: setup-conda
52+
- name: Get conda dependency list
53+
id: conda-deps
5454
run: |
5555
./src/devel/bin/mccode-create-conda-yml -m mcxtrace -n mcxtrace -o dependencies.yml
56-
conda env update --file dependencies.yml
57-
echo DONE
56+
cat dependencies.yml
57+
58+
- name: Update conda
59+
id: update-conda
60+
run: |
61+
conda install mamba -y
62+
mamba env update --file dependencies.yml
5863
5964
- name: Check versions
6065
id: version-checks

0 commit comments

Comments
 (0)