From c93e674552e9e4448d922e078babb992213b3846 Mon Sep 17 00:00:00 2001 From: Camilo Diaz Date: Wed, 12 Jun 2024 19:44:53 -0400 Subject: [PATCH] MAINT: moving macos MPI_LIB_NRN_PATH env variable assigment --- .github/workflows/unit_tests.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index b229edbdd9..d6b60d2287 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -35,6 +35,8 @@ jobs: shell: bash -el {0} run: | brew install open-mpi + echo "List /opt/homebrew/lib" + echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib/libmpi.dylib" >> $GITHUB_ENV - name: Install dependencies shell: bash -el {0} @@ -53,14 +55,13 @@ jobs: shell: bash -el {0} run: | '${{ steps.cp310.outputs.python-path }}' -m pip install --verbose '.[opt, parallel, test, gui]' - - name: Set Env Variables - shell: bash -el {0} - run: | - if [ "${{ matrix.os }}" == "macos-latest" ]; then - echo "List /opt/homebrew/lib" - ls /opt/homebrew/lib - echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib/libmpi.dylib" >> $GITHUB_ENV - fi; + + # - name: Set Env Variables + # if: contains(matrix.os, 'macos') + # shell: bash -el {0} + # run: | + # echo "List /opt/homebrew/lib" + # echo "MPI_LIB_NRN_PATH=/opt/homebrew/lib/libmpi.dylib" >> $GITHUB_ENV # - name: Run MPI application # shell: bash -el {0} # run: |