Skip to content
13 changes: 11 additions & 2 deletions .github/workflows/Format-Doc-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading