-
Notifications
You must be signed in to change notification settings - Fork 10
Add initial QA checks to CI/CD pipeline. #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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" |
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Also, can you check if renaming the config file to
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I've tested this by using fortitude check with the preview rules removed maybe addition of preview rules could be added as an input option in the growss action? But given that the preview rules are not failing the pipeline and are skipped over with warnings the current configuration of the |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| [check] | ||
| select=["E000","C031","C032","C043","C051", | ||
| "C082","C141","OB011","OB021","OB051", | ||
| "OB061","MOD001","PORT011","PORT012","PORT021", | ||
| "FORT001","FORT002","FORT003","FORT004","FORT005"] | ||
| ignore=["C091"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit-picking really: Please format the the Markdown properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similarly to my comment in #24 this markdown should be fine as users with long usernames would have to add loads of spacing to the names above them.