]> 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 13:21:23 +0000 (14:21 +0100)
Previously it did not get run on scheduled CI pipelines.

.gitlab-ci.yml

index 9e02bd32199cc9b74d9ceda3d2e918c867110745..6b469844ccc66473de78a2350baaa316f005213a 100644 (file)
@@ -498,8 +498,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
@@ -512,8 +510,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