ci: speed up CI using multiple processes with pylint (#67057)

This commit is contained in:
Agate 2022-07-06 10:27:30 +02:00
parent 40e934a92c
commit 1b2560b2f7
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,4 @@
#!/bin/bash
set -e -x
env
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0
pylint --jobs ${NUMPROCESSES:-1} -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0

View File

@ -51,6 +51,8 @@ commands =
codestyle: pre-commit run --all-files --show-diff-on-failure
[testenv:pylint]
setenv =
NUMPROCESSES={env:NUMPROCESSES:6}
sitepackages = true
deps =
pytest>=3.6