]> git.eshelyaron.com Git - emacs.git/commitdiff
Optimize test jobs for emba
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 29 Mar 2021 09:33:36 +0000 (11:33 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 29 Mar 2021 09:33:36 +0000 (11:33 +0200)
* test/infra/gitlab-ci.yml (.test-template): Do not run fast and
normal test jobs when scheduled.

test/infra/gitlab-ci.yml

index 25231f55046d2165edbc799c14d5a3038bd86a97..17dda1a91b649cc658a1c70497ae214defd66771 100644 (file)
@@ -140,6 +140,10 @@ default:
     - docker push ${CI_REGISTRY_IMAGE}:${target}-${BUILD_TAG}
 
 .test-template:
+  # Do not run fast and normal test jobs when scheduled
+  rules:
+    - if: '$CI_JOB_STAGE =~ "fast|normal" && $CI_PIPELINE_SOURCE == "schedule"'
+      when: never
   artifacts:
     name: ${test_name}
     public: true