[mutter/wip/carlosg/coverage-by-default] ci: Run coverage target by default




commit 824e9f17c69f9421aa0fd93894fd9a265dad9868
Author: Carlos Garnacho <carlosg gnome org>
Date:   Tue Oct 27 20:29:54 2020 +0100

    ci: Run coverage target by default

 .gitlab-ci.yml | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52404e582a..9974966fb8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -71,21 +71,17 @@ test-mutter:
     NO_AT_BRIDGE: "1"
   script:
     - bash -x ./.gitlab-ci/run-tests.sh
-  artifacts:
-    expire_in: 1 day
-    paths:
-      - build
   only:
     - merge_requests
     - /^.*$/
   artifacts:
+    expire_in: 1 day
     reports:
       junit: "build/${CI_JOB_NAME}-report.xml"
     name: "mutter-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
     when: always
     paths:
-      - "build/meson-logs"
-      - "build/${CI_JOB_NAME}-report.xml"
+      - build
 
 test-mutter-coverage:
   stage: coverage
@@ -98,11 +94,7 @@ test-mutter-coverage:
   artifacts:
     paths:
       - build/meson-logs
-  when: manual
-  except:
-    refs:
-      - tags
-      - master
+  when: always
 
 can-build-gnome-shell:
   stage: test


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