[librsvg] Oops, create the public directory before emitting coverage
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Oops, create the public directory before emitting coverage
- Date: Fri, 18 Feb 2022 03:42:51 +0000 (UTC)
commit bd69b8feb1a59de50961be99e24e6e5543efba94
Author: Federico Mena Quintero <federico gnome org>
Date: Thu Feb 17 21:42:35 2022 -0600
Oops, create the public directory before emitting coverage
.gitlab-ci.yml | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a3d8bff54..154e5ebc4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -264,6 +264,7 @@ coverage:
- cargo +nightly test --no-fail-fast || true
after_script:
- source ./ci/env.sh
+ - mkdir -p public
- grcov coverage-profiles --binary-path ./target/debug/ --source-dir . --output-type cobertura --llvm
--branch --ignore-not-existing --ignore "*cargo*" -o coverage.xml
- grcov coverage-profiles --binary-path ./target/debug/ --source-dir . --output-type html --llvm
--branch --ignore-not-existing --ignore "build.rs" --output-path public/coverage
- grep -Eo 'line-rate="[^"]+"' coverage.xml | head -n 1 | grep -Eo '[0-9.]+' | awk '{ print "Coverage:",
$1 * 100 }'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]