Convert staging job to python and yaml #6224
Workflow file for this run
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 ./ |