From cb8bfad95618680316e880275a4e7c2a2232db4d Mon Sep 17 00:00:00 2001 From: Pierre Siddall <43399998+Pierre-siddall@users.noreply.github.com> Date: Tue, 17 Mar 2026 09:07:28 +0000 Subject: [PATCH] Add initial QA checks to CI/CD pipeline. (#12) --- .github/workflows/lint-fortran.yaml | 16 ++++++++++++++++ CONTRIBUTORS.md | 3 ++- fortitude.toml | 5 +++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/lint-fortran.yaml create mode 100644 fortitude.toml diff --git a/.github/workflows/lint-fortran.yaml b/.github/workflows/lint-fortran.yaml new file mode 100644 index 0000000..b5ae2b5 --- /dev/null +++ b/.github/workflows/lint-fortran.yaml @@ -0,0 +1,16 @@ +# ----------------------------------------------------------------------------- +# (C) Crown copyright Met Office. All rights reserved. +# The file LICENCE, distributed with this code, contains details of the terms +# under which the code may be used. +# ----------------------------------------------------------------------------- + +name: Lint Fortran + +on: + pull_request: + +jobs: + fortitude-lint: + uses: MetOffice/growss/.github/workflows/fortran-lint.yaml@main + with: + runner: "ubuntu-24.04" diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index cd21924..c1d9657 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -3,4 +3,5 @@ | GitHub user | Real Name | Affiliation | Date | | ----------- | --------- | ----------- | ---- | | james-bruten-mo | James Bruten | Met Office | 2025-12-09 | -| t00sa | Sam Clarke-Green | Met Office | 20226-03-02 | +| t00sa | Sam Clarke-Green | Met Office | 2026-03-02 | +| Pierre-siddall| Pierre Siddall | Met Office | 2026-03-11 | diff --git a/fortitude.toml b/fortitude.toml new file mode 100644 index 0000000..a765ac6 --- /dev/null +++ b/fortitude.toml @@ -0,0 +1,5 @@ +[check] +select=["E000","C031","C032","C043","C051", +"C091","C082","C141","OB011","OB021","OB051", +"OB061","MOD001","PORT011","PORT012","PORT021", +"FORT001","FORT002","FORT003","FORT004","FORT005"]