From b6f6de62b551b22a99de8627d1c34e7c9093e4f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20M=C3=A4rtens?= Date: Mon, 26 Sep 2022 08:36:17 +0200 Subject: [PATCH] reenable coverage --- .gitlab/CI/build.gitlab-ci.yml | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/.gitlab/CI/build.gitlab-ci.yml b/.gitlab/CI/build.gitlab-ci.yml index 7e8cd7dbe6..fc7684b355 100644 --- a/.gitlab/CI/build.gitlab-ci.yml +++ b/.gitlab/CI/build.gitlab-ci.yml @@ -55,21 +55,19 @@ benchmarks: # Coverage is needed on master for the README.md badge to work # tmp remove simd as it doesnt work with tarpaulin: https://github.com/rust-lang/rust/issues/77529 -# -# 15/09/2022 - Temporarily disabled by XVar due to coverage docker cache image build issues -# -#coverage: -# extends: .release -# stage: build -# image: registry.gitlab.com/veloren/veloren-docker-ci/cache/tarpaulin:${CACHE_IMAGE_TAG} -# coverage: '/^\d+.\d+% coverage/' -# tags: ["veloren/veloren", "check"] -# script: -# - ln -s /dockercache/target target -# - cat ./.gitlab/scripts/coverage.sh -# - source ./.gitlab/scripts/coverage.sh -# retry: -# max: 2 + +coverage: + extends: .release + stage: build + image: registry.gitlab.com/veloren/veloren-docker-ci/cache/tarpaulin:${CACHE_IMAGE_TAG} + coverage: '/^\d+.\d+% coverage/' + tags: ["veloren/veloren", "check"] + script: + - ln -s /dockercache/target target + - cat ./.gitlab/scripts/coverage.sh + - source ./.gitlab/scripts/coverage.sh + retry: + max: 2 #linux, windows, macos builds here as template .tlinux-x86_64: