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
|
||||||
name: Python formatting PEP8
|
run-name: ${{ gitea.actor }} is running PEP8 check
|
||||||
runs-on: ubuntu-latest
|
on: [push]
|
||||||
|
|
||||||
steps:
|
jobs:
|
||||||
- name: Checkout
|
Pyhton-PEP8:
|
||||||
uses: actions/checkout@v2
|
runs-on: ubuntu-latest
|
||||||
- uses: actions/setup-python@v2
|
|
||||||
with:
|
|
||||||
python-version: 3.9
|
|
||||||
|
|
||||||
- name: Install dependencies
|
steps:
|
||||||
run: |
|
- name: Checkout
|
||||||
pip install flake8
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Run checking
|
- uses: actions/setup-python@v3
|
||||||
run: |
|
with:
|
||||||
flake8 --extend-exclude bin,lib .
|
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