]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Run Python linters in CI even outside of merge requests
authorPetr Špaček <pspacek@isc.org>
Mon, 15 Feb 2021 09:26:56 +0000 (10:26 +0100)
committerPetr Špaček <pspacek@isc.org>
Mon, 15 Feb 2021 09:26:56 +0000 (10:26 +0100)
Previously it did not get run on scheduled CI pipelines.

(cherry picked from commit 74d7cddc4c92c70e542da2321231bcb2164d91e0)

.gitlab-ci.yml

index 3dc1d77c30cd9d62d08556e59b2a7a2c475095cd..016d938d7fe6f8fd19e252c2ce8ffce32e0a10d7 100644 (file)
@@ -490,8 +490,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
@@ -505,8 +503,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|contrib/queryperf/)')
-  only:
-    - merge_requests
 
 tarball-create:
   stage: precheck