Skip to content

Commit

Permalink
move Pylint CI task to the latest Ubuntu image
Browse files Browse the repository at this point in the history
We should keep this task always on the latest Ubuntu in order to pick up the
most recent version of Pylint.
  • Loading branch information
Smattr committed Jul 9, 2021
1 parent 60bb15b commit d3d4209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1057,10 +1057,10 @@ docker_push_ubuntu-21.04:
- docker_build_ubuntu-21.04

lint_pylint:
image: "$CI_REGISTRY_IMAGE/ubuntu-20.10:$CI_COMMIT_SHA"
image: "$CI_REGISTRY_IMAGE/ubuntu-21.04:$CI_COMMIT_SHA"
stage: test
needs:
- docker_build_ubuntu-20.10
- docker_build_ubuntu-21.04
script:
- logfile=`mktemp`
- python3 -m pylint --rcfile=.pylintrc `find . -name '*.py' | xargs` --exit-zero |& tee $logfile
Expand Down

0 comments on commit d3d4209

Please sign in to comment.