summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2020-10-27 20:29:54 +0100
committerCarlos Garnacho <carlosg@gnome.org>2020-10-28 02:22:52 +0000
commite3538582401c648a016438384e5d65918513dbe7 (patch)
treed9d5cad480947cad6e7fd735cfafa1046fcd452b
parentc7a0ab3eb813dd78156434e492f1216766ec6c38 (diff)
downloadmutter-wip/carlosg/coverage-by-default.tar.gz
ci: Run coverage target by defaultwip/carlosg/coverage-by-default
We're just a "ninja coverage" away from getting the full report, it is not that much extra to the pipeline. Also, fix bugs that accumulated since the manual task was added, e.g. let the full built+tested tree available on the coverity stage. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1535
-rw-r--r--.gitlab-ci.yml16
1 files changed, 4 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 52404e582..ce3ea5483 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