0001-ci-speed-up-CI-using-multiple-processes-with-pylint-.patch
pylint.sh | ||
---|---|---|
2 | 2 |
set -e -x |
3 | 3 |
env |
4 | 4 | |
5 |
pylint -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0 |
|
5 |
pylint --jobs ${NUMPROCESSES:-1} -f parseable --rcfile pylint.rc "$@" | tee pylint.out; test $PIPESTATUS -eq 0 |
tox.ini | ||
---|---|---|
12 | 12 |
BRANCH_NAME={env:BRANCH_NAME:} |
13 | 13 |
SETUPTOOLS_USE_DISTUTILS=stdlib |
14 | 14 |
coverage: COVERAGE=--junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=chrono/ --cov-config .coveragerc |
15 | ||
15 | 16 |
deps = |
16 | 17 |
pytest-cov |
17 | 18 |
pytest-django |
... | ... | |
38 | 39 |
codestyle: pre-commit run --all-files --show-diff-on-failure |
39 | 40 | |
40 | 41 |
[testenv:pylint] |
42 |
setenv = |
|
43 |
NUMPROCESSES={env:NUMPROCESSES:6} |
|
44 | ||
41 | 45 |
deps = |
42 | 46 |
pytest-django |
43 | 47 |
pytest!=5.3.3 |
44 |
- |