Skip to content

Machine Learning based vertical diffusivity in EPBL mixing scheme used for ocean surface boundary layer #2660

Machine Learning based vertical diffusivity in EPBL mixing scheme used for ocean surface boundary layer

Machine Learning based vertical diffusivity in EPBL mixing scheme used for ocean surface boundary layer #2660

Workflow file for this run

name: Code coverage
on: [push, pull_request]
jobs:
build-coverage:
runs-on: ubuntu-latest
defaults:
run:
working-directory: .testing
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: ./.github/actions/ubuntu-setup
- uses: ./.github/actions/testing-setup
- name: Compile file parser unit tests
run: make -j build/unit/test_MOM_file_parser
- name: Run file parser unit tests
run: make run.cov.unit
- name: Compile unit testing
run: make -j build.unit
- name: Run (single processor) unit tests
run: make run.unit
- name: Report unit test coverage to CI
run: make report.cov.unit
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Compile ocean-only MOM6 with code coverage
run: make -j build/cov/MOM6
- name: Run coverage tests
run: make -j -k run.cov
- name: Report coverage to CI
run: make report.cov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}