]> git.eshelyaron.com Git - emacs.git/commitdiff
; * test/infra/gitlab-ci.yml: Merge test-template script into job-template.
authorTed Zlatanov <tzz@lifelogs.com>
Sun, 17 Jan 2021 13:59:59 +0000 (13:59 +0000)
committerTed Zlatanov <tzz@lifelogs.com>
Sun, 17 Jan 2021 14:01:16 +0000 (14:01 +0000)
test/infra/gitlab-ci.yml

index 78743d1adb1bfde098867f5f488dd07723414d8b..3214f01eddb8404d66bf8465167d30f774259677 100644 (file)
@@ -94,6 +94,11 @@ default:
     paths: []
       # - "test/**/*.log"
       # - "**/*.log"
+  # using the variables for each job
+  script:
+    - docker pull ${CI_REGISTRY_IMAGE}:${target}-${CI_COMMIT_SHA}
+    # TODO: with make -j4 several of the tests were failing, for example shadowfile-tests, but passed without it
+    - docker run -i --rm -e EMACS_EMBA_CI=${EMACS_EMBA_CI} ${CI_REGISTRY_IMAGE}:${target}-${CI_COMMIT_SHA} make ${make_params}
 
 .build-template:
   script:
@@ -127,12 +132,6 @@ default:
         - test/lisp/autorevert-tests.el
         - test/lisp/filenotify-tests.el
 
-  # using the variables for each job
-  script:
-    - docker pull ${CI_REGISTRY_IMAGE}:${target}-${CI_COMMIT_SHA}
-    # TODO: with make -j4 several of the tests were failing, for example shadowfile-tests, but passed without it
-    - docker run -i --rm -e EMACS_EMBA_CI=${EMACS_EMBA_CI} ${CI_REGISTRY_IMAGE}:${target}-${CI_COMMIT_SHA} make ${make_params}
-
 stages:
   - prep-images
   - build-images