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




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

    ci: Run coverage target by default

 .gitlab-ci.yml | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52404e582a..ce3ea5483a 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
@@ -97,12 +93,8 @@ test-mutter-coverage:
     - cat build/meson-logs/coverage.txt
   artifacts:
     paths:
-      - build/meson-logs
-  when: manual
-  except:
-    refs:
-      - tags
-      - master
+      - build/meson-logs/coveragereport
+  when: always
 
 can-build-gnome-shell:
   stage: test


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