Skip to content

small bugfix, correcting sinking of phytoplankton and detritus into b… #2766

small bugfix, correcting sinking of phytoplankton and detritus into b…

small bugfix, correcting sinking of phytoplankton and detritus into b… #2766

Workflow file for this run

name: FESOM2 main test
# Controls when the action will run. Triggers the workflow on push or pull request.
on: [push, pull_request]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
gfortran_ubuntu:
# Containers must run in Linux based operating systems
runs-on: ubuntu-latest
# Docker Hub image that `container-job` executes in
container: koldunovn/fesom2_test:fesom2.1
# Service containers to run with `gfortran_ubuntu`
steps:
# NK: this changes working directory to fesom2
- uses: actions/checkout@v2
- name: Compile model
run: |
bash -l configure.sh ubuntu
- name: Create global test run
run: |
mkrun pi test_pi -m docker
- name: FESOM2 global test run
run: |
cd work_pi
chmod +x job_docker_new
./job_docker_new
- name: Check global results
run: |
cd work_pi
fcheck .
- name: Create channel test run
run: |
mkrun souf test_souf -m docker
- name: FESOM2 channel test run
run: |
cd work_souf
chmod +x job_docker_new
./job_docker_new
- name: Check channel results
run: |
cd work_souf
fcheck .
- name: Check partitioner compilation
run: |
cd mesh_part
bash -l configure.sh ubuntu
- name: Run partitioner
run: |
cd work_pi
cp ../bin/fesom_ini.x .
./fesom_ini.x