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: |