GitHub Actions Pipeline Updates for Self-Hosted Runners on PW (#3018) #1171
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-22.04 | |
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 ./ |