mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #48633 from saltstack/revert-48610-2017.7
Revert "only run pylint on files that change"
This commit is contained in:
commit
a8ae2adf64
1 changed files with 2 additions and 2 deletions
4
.ci/lint
4
.ci/lint
|
@ -24,13 +24,13 @@ pipeline {
|
|||
parallel {
|
||||
stage('salt linting') {
|
||||
steps {
|
||||
sh 'eval "$(pyenv init -)"; tox -e pylint-salt $(git diff --name-only "origin/$CHANGE_TARGET" "origin/$BRANCH_NAME" setup.py salt/*.py salt/**/*.py)| tee pylint-report.xml'
|
||||
sh 'eval "$(pyenv init -)"; tox -e pylint-salt | tee pylint-report.xml'
|
||||
archiveArtifacts artifacts: 'pylint-report.xml'
|
||||
}
|
||||
}
|
||||
stage('test linting') {
|
||||
steps {
|
||||
sh 'eval "$(pyenv init -)"; tox -e pylint-tests $(git diff --name-only "origin/$CHANGE_TARGET" "origin/$BRANCH_NAME" tests/*.py tests/**/*.py)| tee pylint-report-tests.xml'
|
||||
sh 'eval "$(pyenv init -)"; tox -e pylint-tests | tee pylint-report-tests.xml'
|
||||
archiveArtifacts artifacts: 'pylint-report-tests.xml'
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue