Jenkinsfile: run pylint (#51640)

This commit is contained in:
Benjamin Dauvergne 2021-03-05 14:54:42 +01:00
parent 10016d04ca
commit 734a7bb51b
2 changed files with 6 additions and 4 deletions

1
Jenkinsfile vendored
View File

@ -11,6 +11,7 @@ pipeline {
post {
always {
script {
sh 'tox -e pylint'
utils = new Utils()
utils.publish_coverage('coverage.xml')
utils.publish_coverage_native('index.html')

View File

@ -36,12 +36,13 @@ commands =
py.test -o junit_suite_name={envname} --junit-xml=junit-{envname}.xml --random {env:COVERAGE:} {posargs:tests}
[testenv:pylint]
basepython = python2.7
basepython = python3
deps =
pylint<1.8
pylint-django<0.8.1
pylint
pylint-django
commands =
pylint: ./pylint.sh mellon
./getlasso3.sh
./pylint.sh mellon
[testenv:django-admin]
whitelist_externals = django-admin