summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c93ad480..6a4a019f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -28,7 +28,9 @@ jobs:
PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_TESTING=1 PSUTIL_DEBUG=1
python {project}/psutil/tests/runner.py &&
PYTHONWARNINGS=always PYTHONUNBUFFERED=1 PSUTIL_TESTING=1 PSUTIL_DEBUG=1
- python {project}/psutil/tests/test_memleaks.py
+ python {project}/psutil/tests/test_memleaks.py &&
+ find . -type f -iname "*.py" | xargs python -m flake8 --config=.flake8 &&
+ find . -type f \( -iname "*.c" -o -iname "*.h" \) | xargs python scripts/internal/clinter.py
CIBW_TEST_EXTRAS: test
CIBW_SKIP: cp35-* pp*
steps:
@@ -49,7 +51,7 @@ jobs:
- name: Run tests
run: |
- pip install cibuildwheel
+ pip install cibuildwheel flake8
cibuildwheel .
- name: Create wheels