]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run Python linters in CI even outside of merge requests
authorPetr Špaček <pspacek@isc.org>
Thu, 7 Jan 2021 13:44:13 +0000 (14:44 +0100)
committerPetr Špaček <pspacek@isc.org>
Fri, 12 Feb 2021 14:51:05 +0000 (15:51 +0100)
Previously it did not get run on scheduled CI pipelines.

(cherry picked from commit 74d7cddc4c92c70e542da2321231bcb2164d91e0)

.gitlab-ci.yml

index 729feed7c93930126b749c65873b7d81d4677536..713b55ba3d02a5ea80da6a471621e188fc92b5a0 100644 (file)
@@ -485,8 +485,6 @@ flake8:
   script:
     - *configure
     - flake8 --max-line-length=80 $(git ls-files '*.py' | grep -vE '(ans\.py|dangerfile\.py)')
-  only:
-    - merge_requests
 
 pylint:
   <<: *default_triggering_rules
@@ -499,8 +497,6 @@ pylint:
     - *configure
     - PYTHONPATH="$PYTHONPATH:$CI_PROJECT_DIR/bin/python"
     - pylint --rcfile $CI_PROJECT_DIR/.pylintrc $(git ls-files '*.py' | grep -vE '(ans\.py|dangerfile\.py)')
-  only:
-    - merge_requests
 
 tarball-create:
   stage: precheck