diff options
author | Federico Mena Quintero <federico@gnome.org> | 2022-02-17 21:42:35 -0600 |
---|---|---|
committer | Federico Mena Quintero <federico@gnome.org> | 2022-02-17 21:42:35 -0600 |
commit | bd69b8feb1a59de50961be99e24e6e5543efba94 (patch) | |
tree | 2a17ebdbfcf7e441d474f60a54f3ab42f6794558 /.gitlab-ci.yml | |
parent | fdb7d6f3b0c2c2f878f9397e5227239895a3b7a7 (diff) | |
download | librsvg-bd69b8feb1a59de50961be99e24e6e5543efba94.tar.gz |
Oops, create the public directory before emitting coverage
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a3d8bff5..154e5ebc 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 }' |