Jenkinsfile: run pylint separately (#38507)
This commit is contained in:
parent
4cdbac85a0
commit
3e0264842b
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue