From 660a636ee99bc012c9fbcd4859f084d413b92111 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 14 Dec 2024 11:58:09 +0000 Subject: [PATCH] chore: code coverage configuration --- justfile | 4 +++- mise.toml | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 mise.toml diff --git a/justfile b/justfile index 1b9c1da..9b640ff 100644 --- a/justfile +++ b/justfile @@ -7,7 +7,9 @@ build: cargo clippy --no-deps --fix --allow-dirty cargo machete # cargo build - cargo tarpaulin --skip-clean --out Html + cargo tarpaulin --engine llvm --tests --line --skip-clean --out Html Lcov + cargo llvm-cov --html --tests + rm *.profraw # cargo test # cargo doc # cargo test --example get diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..24be325 --- /dev/null +++ b/mise.toml @@ -0,0 +1,3 @@ +[tools] +"cargo:cargo-llvm-cov" = "latest" +"cargo:cargo-tarpaulin" = "latest"