diff --git a/.github/workflows/python_ci.yml b/.github/workflows/python_ci.yml index b34f16d4..8bc33900 100644 --- a/.github/workflows/python_ci.yml +++ b/.github/workflows/python_ci.yml @@ -6,10 +6,15 @@ jobs: fail-fast: false matrix: version: ['3.9', '3.10', '3.11'] - runs-on: ubuntu-latest + os: [ubuntu-latest,macos-latest] + runs-on: ${{ matrix.os }} steps: - - name: install mpi - run: sudo apt update && sudo apt-get install openmpi-bin openmpi-doc libopenmpi-dev + - name: install mpi in ubuntu + if: matrix.os == 'ubuntu-latest' + run: sudo apt update && sudo apt-get install openmpi-bin + - name: install mpi macos + if: matrix.os == 'macos-latest' + run: brew install open-mpi - uses: actions/checkout@v3 - name: setup python uses: actions/setup-python@v4