[gnome-shell/wip/fmuellner/ci-test: 1/2] ci: Skip source_check stage when no js changed



commit 47f105ea2c4ef3a01fa2bdda294d5b0794fb0bae
Author: Florian Müllner <fmuellner gnome org>
Date:   Tue Feb 12 20:17:07 2019 +0100

    ci: Skip source_check stage when no js changed

 .gitlab-ci.yml | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b08dc67fe..326fe5498 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,9 @@ js_check:
     script:
         - find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
         - (! grep -q . $JS_LOG)
+    only:
+        changes:
+            - js
     artifacts:
         paths:
             - ${JS_LOG}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]