From b4f909f5d950c4a289d1ad0663df96b09e4c6bcc Mon Sep 17 00:00:00 2001 From: Johannes Buchner Date: Fri, 28 Jul 2023 10:09:41 -0400 Subject: [PATCH] [ci] try to access matrix variable --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a52b878..8e05589 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,15 +30,15 @@ jobs: if: ${{ matrix.MPI == 'openmpi' }} run: | sudo apt-get install -qq openmpi-bin libopenmpi-dev python3-mpi4py - update-alternatives --list mpi|grep "$MPI" | xargs -rt sudo update-alternatives --set mpi - update-alternatives --list mpirun|grep "$MPI" | xargs -rt sudo update-alternatives --set mpirun + update-alternatives --list mpi|grep "${{ matrix.MPI }}" | xargs -rt sudo update-alternatives --set mpi + update-alternatives --list mpirun|grep "${{ matrix.MPI }}" | xargs -rt sudo update-alternatives --set mpirun - name: Install mpich if: ${{ matrix.MPI == 'mpich' }} run: | sudo apt-get install -qq mpich libmpich-dev python3-mpi4py - update-alternatives --list mpi|grep "$MPI" | xargs -rt sudo update-alternatives --set mpi - update-alternatives --list mpirun|grep "$MPI" | xargs -rt sudo update-alternatives --set mpirun + update-alternatives --list mpi|grep "${{ matrix.MPI }}" | xargs -rt sudo update-alternatives --set mpi + update-alternatives --list mpirun|grep "${{ matrix.MPI }}" | xargs -rt sudo update-alternatives --set mpirun - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }}