forked from NOAA-GFDL/FMS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: mom6 tests on PR's (NOAA-GFDL#1440)
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Run MOM6 test suite | ||
|
||
# runs on PR's or when manually triggered | ||
on: [workflow_dispatch, pull_request] | ||
|
||
# cancel running jobs if theres a newer push | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/noaa-gfdl/fms/fms-ci-rocky-gnu:13.2.0 | ||
credentials: | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.github_token }} | ||
steps: | ||
- name: Checkout MOM6 repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: 'NOAA-GFDL/MOM6' | ||
submodules: recursive | ||
- name: Checkout FMS into MOM build | ||
uses: actions/checkout@v4 | ||
with: | ||
path: .testing/deps/fms/src | ||
- name: Build FMS and MOM test suite | ||
run: make -C .testing -j | ||
- name: Run MOM tests | ||
run: make -C .testing -j test |