Jenkinsfile: run pylint separately (#38507)

This commit is contained in:
Benjamin Dauvergne 2019-12-13 16:11:50 +01:00
parent 4cdbac85a0
commit 3e0264842b
2 changed files with 3 additions and 2 deletions

3
Jenkinsfile vendored
View File

@ -6,6 +6,7 @@ pipeline {
stage('Unit Tests') {
steps {
sh 'tox -rv'
sh 'tox -r -e pylint'
}
post {
always {
@ -15,7 +16,7 @@ pipeline {
utils.publish_coverage_native('index.html')
utils.publish_pylint('pylint.out')
}
junit '*_results.xml'
mergeJunitResults()
}
}
}

View File

@ -19,7 +19,7 @@ deps =
django-mellon
pdbpp
commands =
py.test {posargs: --junitxml=test_{envname}_results.xml --cov-report xml --cov-report html --cov=eo_gestion/ tests/}
py.test {posargs: --junitxml=junit-{envname}.xml --cov-report xml --cov-report html --cov=eo_gestion/ tests/}
[testenv:pylint]
basepython = python3