[librsvg: 4/5] Ignore dependencies for coverage info
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 4/5] Ignore dependencies for coverage info
- Date: Fri, 18 Feb 2022 20:32:33 +0000 (UTC)
commit 0168b66890d53fdb5deddff7dc0f66340b30eec3
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Feb 18 11:43:39 2022 -0600
Ignore dependencies for coverage info
.gitlab-ci.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 0153f3c43..22b2a7576 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -270,8 +270,8 @@ coverage:
after_script:
- source ./ci/env.sh
- mkdir -p public
- - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type cobertura
--llvm --branch --ignore-not-existing --ignore "*cargo*" -o coverage.xml
- - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type html --llvm
--branch --ignore-not-existing --ignore "build.rs" --output-path public/coverage
+ - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type cobertura
--llvm --branch --ignore-not-existing --ignore "build.rs" --ignore '_build/*' --ignore 'cargo_cache/*' -o
coverage.xml
+ - grcov coverage-profiles --binary-path ./_build/target/debug/ --source-dir . --output-type html --llvm
--branch --ignore-not-existing --ignore "build.rs" --ignore '_build/*' --ignore 'cargo_cache/*' --output-path
public/coverage
- grep -Eo 'line-rate="[^"]+"' coverage.xml | head -n 1 | grep -Eo '[0-9.]+' | awk '{ print "Coverage:",
$1 * 100 }'
coverage: '/Coverage: \d+\.\d+/'
artifacts:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]