2023-05-28 18:06:13 +02:00
|
|
|
name: Python formatting PEP8
|
|
|
|
run-name: ${{ gitea.actor }} is running PEP8 check
|
|
|
|
on: [push]
|
2023-05-28 16:34:44 +02:00
|
|
|
|
2023-05-28 18:06:13 +02:00
|
|
|
jobs:
|
|
|
|
Pyhton-PEP8:
|
|
|
|
runs-on: ubuntu-latest
|
2023-05-28 16:34:44 +02:00
|
|
|
|
2023-05-28 18:06:13 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
2023-05-28 16:34:44 +02:00
|
|
|
|
2023-05-28 18:06:13 +02:00
|
|
|
- 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 .
|