File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -59,21 +59,23 @@ jobs:
59
59
~/conda
60
60
key : conda
61
61
62
- - name : install MPI
62
+ - name : Install Python (conda) ${{ matrix.python }}
63
63
if : matrix.mpi
64
64
run : |
65
65
export MAMBA_ROOT_PREFIX=$HOME/conda
66
66
test -d $MAMBA_ROOT_PREFIX || mkdir $MAMBA_ROOT_PREFIX
67
67
wget -qO- https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba
68
68
eval "$(./bin/micromamba shell hook -s posix)"
69
69
micromamba activate
70
- micromamba install -y -c conda-forge mpich
70
+ micromamba install -y -c conda-forge mpich mpi4py python=${{ matrix.python }}
71
71
echo "PATH=$MAMBA_ROOT_PREFIX/bin:$PATH" >> $GITHUB_ENV
72
72
73
73
- name : Install Python ${{ matrix.python }}
74
+ if : ${{ ! matrix.mpi }}
74
75
uses : actions/setup-python@v2
75
76
with :
76
77
python-version : ${{ matrix.python }}
78
+
77
79
- name : Install Python dependencies
78
80
run : |
79
81
pip install --upgrade pip
You can’t perform that action at this time.
0 commit comments