Add ability to run CI test C96_atm3DVar.yaml to Gaea-C5 (#2885) #742
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pynorms | |
on: [push, pull_request] | |
jobs: | |
check_norms: | |
runs-on: ubuntu-latest | |
name: Check Python coding norms with pycodestyle | |
steps: | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install pycodestyle | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: global-workflow | |
- name: Run pycodestyle | |
run: | | |
cd $GITHUB_WORKSPACE/global-workflow | |
pycodestyle -v --config ./.pycodestyle ./ |