[librsvg: 1/2] ci: source the cargo bin path before running grcov




commit 81cb05e716daa3040f6b6db37948769ef9409404
Author: Jordan Petridis <jordan centricular com>
Date:   Sat Jan 22 02:33:50 2022 +0200

    ci: source the cargo bin path before running grcov
    
    Close #839

 .gitlab-ci.yml | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2d373b0d9..5db70d1ca 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -263,6 +263,7 @@ coverage:
   script:
     - cargo +nightly test --no-fail-fast || true
   after_script:
+    - source ./.gitlab-ci/env.sh
     - grcov . --binary-path ./target/debug/ --source-dir . --output-type cobertura --llvm --branch 
--ignore-not-existing --ignore "*cargo*" -o coverage.xml
     - grcov . --binary-path ./target/debug/ --source-dir . --output-type html --llvm --branch 
--ignore-not-existing --ignore "build.rs" --output-path ./target/debug/coverage/
     - mkdir -p public/coverage


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]