trying to get pep8 workflow running
This commit is contained in:
parent
0ae7d394f5
commit
2c23304285
1 changed files with 20 additions and 15 deletions
|
@ -1,18 +1,23 @@
|
|||
python-pep8:
|
||||
name: Python formatting PEP8
|
||||
runs-on: ubuntu-latest
|
||||
name: Python formatting PEP8
|
||||
run-name: ${{ gitea.actor }} is running PEP8 check
|
||||
on: [push]
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.9
|
||||
jobs:
|
||||
Pyhton-PEP8:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install flake8
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Run checking
|
||||
run: |
|
||||
flake8 --extend-exclude bin,lib .
|
||||
- uses: actions/setup-python@v3
|
||||
with:
|
||||
python-version: 3.9
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install flake8
|
||||
|
||||
- name: Run checking
|
||||
run: |
|
||||
flake8 --extend-exclude bin,lib .
|
||||
|
|
Loading…
Reference in a new issue