diff --git a/.github/workflows/Format-Doc-Test.yml b/.github/workflows/Format-Doc-Test.yml index b7d1773e..8f01e01a 100644 --- a/.github/workflows/Format-Doc-Test.yml +++ b/.github/workflows/Format-Doc-Test.yml @@ -70,12 +70,21 @@ jobs: retention-days: 31 Tests: - runs-on: ubuntu-latest + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, macos-latest] name: Run Automatic Tests needs: [Format, Documentation] steps: - - name: Install MPI (OpenMPI) + - name: Linux install gfortran & openmpi + if: runner.os == 'Linux' run: sudo apt update && sudo apt install -y libopenmpi-dev + - name: macOS install gfortran & openmpi + if: runner.os == 'macOS' + run: | + brew update + brew install gcc open-mpi - name: Clone GITM repository uses: actions/checkout@v4 - name: Run tests in srcTests/auto_test