mirror of https://github.com/docker/docker-py.git
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:
parent
7168e09b16
commit
ce40d4bb34
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue