Skip to content

Commit

Permalink
MAINT: Added conditionals to install openmpi according to matrix.os
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilo9999 committed Jun 12, 2024
1 parent 817f9a5 commit 2eac7ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,19 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
- name: Install ubuntu dependencies
if: contains(matrix.os, 'ubuntu')
shell: bash -el {0}
run: |
if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get install libopenmpi-dev openmpi-bin
fi;
- name: Install MacOs dependencies
if: contains(matrix.os, 'macos')
shell: bash -el {0}
run: |
if [ "${{ matrix.os }}" == "macos-latest" ]; then
brew install open-mpi
fi;
- name: Install dependencies
shell: bash -el {0}
run: |
Expand Down

0 comments on commit 2eac7ea

Please sign in to comment.