From 3ced28df3ecb157111846907580108ffeb00244a Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 30 Aug 2018 13:50:45 +0100 Subject: [PATCH] ci: Disable the coverage CI job when running dist on a release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It fails because dist-job (correctly) doesn’t build with the code coverage CFLAGS enabled. Leave coverage to be generated on master and development branches. See this pipeline for an example of when it fails: https://gitlab.gnome.org/GNOME/glib/pipelines/26349 Signed-off-by: Philip Withnall --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bed21643a..862153b95 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -162,6 +162,8 @@ freebsd-11-x86_64: coverage: stage: coverage + except: + - tags artifacts: name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}" paths: