[gnome-control-center/gbsneto/better-ci: 2/2] ci: Fix tests with tags



commit dc50111829e3bf5dbff97ee91ad2471350a62dcc
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Mon Mar 11 16:16:50 2019 -0300

    ci: Fix tests with tags
    
    We need to run the tests, and when on tags, run 'ninja dist'.
    Just that.

 .gitlab-ci.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8c8664d7e..c09ad0cd0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,16 +76,12 @@ test:
 
   script:
     - *environment_information
+    - *run_tests
 
     - |
       if [[ -n "${CI_COMMIT_TAG}" ]]; then
-        *run_tests
-
         echo "== Distro Test =="
         ninja dist -C _build
-      else
-        echo "== Testing =="
-        meson test -C _build --verbose --no-stdsplit
       fi
 
   except:


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