diff options
author | toofar <toofar@spalge.com> | 2023-09-30 17:14:07 +1300 |
---|---|---|
committer | toofar <toofar@spalge.com> | 2023-09-30 17:14:07 +1300 |
commit | 567e1ead77d3af4f4070552a6cb3f80ea6d47b10 (patch) | |
tree | 7d61d58a6bb77244835dda8c8d7932ed8f6cc095 | |
parent | 7750a2f7a2cbda4b5e7558fdc659f54fc51ada75 (diff) | |
download | qutebrowser-feat/parallel_pytest.tar.gz qutebrowser-feat/parallel_pytest.zip |
Run pylint in parallel on CIfeat/parallel_pytest
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.
-rw-r--r-- | .github/workflows/ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
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 |