From: Ruben Beltran del Rio Date: Sat, 4 Jan 2025 16:00:54 +0000 (+0100) Subject: Add Tarpaulin to CI, fail under 100 X-Git-Tag: 1.4.0~3 X-Git-Url: https://git.r.bdr.sh/rbdr/page/commitdiff_plain/5e9cc429045749ff7c1e6396de7657122783528d?hp=137b2e55c21459261d4fa0f909ccfc60f98117e5 Add Tarpaulin to CI, fail under 100 --- diff --git a/.build.yml b/.build.yml index 9924670..1da0972 100644 --- a/.build.yml +++ b/.build.yml @@ -17,6 +17,8 @@ tasks: - set_rust: | cd page make set_rust + - install_coverage_tool: | + cargo install cargo-tarpaulin - install_builders: | cargo install cargo-generate-rpm cargo install cargo-deb diff --git a/Makefile b/Makefile index 33f107f..d85de45 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ test: cargo test coverage: - cargo tarpaulin + cargo tarpaulin --fail-under 100 format: cargo fmt && cargo clippy --fix