ci: add flake8 job

Project is already configured for flake8 but it never gets run in
CI.

Signed-off-by: Milas Bowman <milas.bowman@docker.com>
This commit is contained in:
Milas Bowman 2022-07-26 13:48:10 -04:00
parent 7168e09b16
commit ce40d4bb34
1 changed files with 11 additions and 0 deletions

View File

@ -3,6 +3,17 @@ name: Python package
on: [push, pull_request] on: [push, pull_request]
jobs: jobs:
flake8:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: pip install -U flake8
- name: Run flake8
run: flake8 docker/ tests/
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy: