Skip to content

Commit b995f0b

Browse files
committed
update tests
1 parent d92b2d4 commit b995f0b

1 file changed

Lines changed: 26 additions & 24 deletions

File tree

.github/workflows/gotm.yml

Lines changed: 26 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,38 @@
11
name: Build and test
22
on: push
33
jobs:
4-
gfortran:
5-
strategy:
6-
matrix:
7-
version: [9, 10]
8-
os: [ubuntu-latest]
9-
include:
10-
#- version: 6
11-
# os: ubuntu-18.04
12-
- version: 7
13-
os: ubuntu-20.04
14-
- version: 8
15-
os: ubuntu-20.04
16-
cmake_args: -DFABM_USE_CONTIGUOUS=OFF
17-
fail-fast: false
18-
runs-on: ${{ matrix.os }}
19-
steps:
4+
gfortran:
5+
strategy:
6+
matrix:
7+
version: [9, 10, 11, 12]
8+
os: ["ubuntu-latest"]
9+
include:
10+
#- version: 7
11+
#os: ubuntu-20.04
12+
#- version: 8
13+
#os: ubuntu-20.04
14+
#cmake_args: -DFABM_USE_CONTIGUOUS=OFF
15+
- version: 13
16+
os: ubuntu-24.04
17+
- version: 14
18+
os: ubuntu-24.04
19+
fail-fast: false
20+
runs-on: ${{ matrix.os }}
21+
steps:
2022
- name: Install compiler
2123
run: |
22-
sudo apt-get update
23-
sudo apt-get install gfortran-${{ matrix.version }}
24+
sudo apt-get update
25+
sudo apt-get install gfortran-${{ matrix.version }}
2426
- name: Clone gotm
25-
uses: actions/checkout@v2
27+
uses: actions/checkout@v4
2628
with:
27-
path: gotm
28-
submodules: recursive
29+
path: gotm
30+
submodules: recursive
2931
- name: Clone gotm-cases
30-
uses: actions/checkout@v2
32+
uses: actions/checkout@v4
3133
with:
32-
path: cases
33-
repository: gotm-model/cases
34+
path: cases
35+
repository: gotm-model/cases
3436
ref: v6.0
3537
- name: Build and run all test cases
3638
run: python3 cases/scripts/run_all.py --show_logs --gotm_base=gotm --exclude plume --compiler=gfortran-${{ matrix.version }} -DGOTM_USE_STIM=ON -DGOTM_USE_SEAGRASS=ON -DGOTM_USE_NetCDF=OFF ${{ matrix.cmake_args }}

0 commit comments

Comments
 (0)