summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilas Bowman <milas.bowman@docker.com>2022-07-26 13:48:10 -0400
committerMilas Bowman <milas.bowman@docker.com>2022-07-26 13:48:10 -0400
commitce40d4bb34e9324e3ee640f0acc23604498db21d (patch)
treee42ad038b9c8b81287a2c604a4f3c6b55e9d1e2b
parent7168e09b1628b85a09e95cf8bae6bfd94b61a6c4 (diff)
downloaddocker-py-ce40d4bb34e9324e3ee640f0acc23604498db21d.tar.gz
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>
-rw-r--r--.github/workflows/ci.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 29e022a..0096ddd 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,6 +3,17 @@ name: Python package
on: [push, pull_request]
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:
runs-on: ubuntu-latest
strategy: