Skip to content

LST-DA for eCLM-PDAF #113

LST-DA for eCLM-PDAF

LST-DA for eCLM-PDAF #113

Workflow file for this run

name: Check Fortran coding style
on:
push:
branches:
- tsmp-pdaf-patched
- tsmp-pdaf-patched-fortitude
pull_request:
branches:
- tsmp-pdaf-patched
- tsmp-pdaf-patched-fortitude
env:
BASE_URL: /${{ github.event.repository.name }}
# Allow only one concurrent deployment, skipping runs queued between
# the run in-progress and latest queued.
#
# However, do NOT cancel in-progress runs as we want to allow these
# production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
style-check:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: 3.12
cache: 'pip'
- name: Install pip packages
run: pip install fortitude-lint
#TODO: Checking only the interface, could also be interesting to use
#for src/ and PR into main PDAF
#
# Ignored errors were unclear / needed for PDAF
- name: Check Fortran coding style
continue-on-error: false
run: fortitude check --statistics --ignore=C003,C072,C091,C092 --line-length=132 interface/framework interface/model/eclm