From 567e1ead77d3af4f4070552a6cb3f80ea6d47b10 Mon Sep 17 00:00:00 2001 From: toofar Date: Sat, 30 Sep 2023 17:14:07 +1300 Subject: Run pylint in parallel on CI I'm not sure if GH runners have multiple cores, but lets see. I noticed that pylint runs quite slowly locally, you can make it run faster like `tox -e pylint -- -j N`, where N is the number of jobs. "0" means one job per core. I'm not setting -j0 as the default in tox because personally I don't like when I run some innocuous task and it grabs all more cores. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9d7963ea7..2465892ae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,7 @@ jobs: matrix: include: - testenv: pylint + args: "-j 0" - testenv: flake8 - testenv: mypy-pyqt6 - testenv: mypy-pyqt5 -- cgit v1.2.3-54-g00ecf