From 67331b851295b0067f74cd410aef7986aa6a848e Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Mon, 3 Feb 2025 23:10:17 +0100 Subject: Document coverage collection and how to update sqlx --- server/README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'server') diff --git a/server/README b/server/README index 4e97d2e..2fdf51d 100644 --- a/server/README +++ b/server/README @@ -9,3 +9,18 @@ cargo --target=x86_64-unknown-linux-musl --package eyeballs-githook build and then: cargo build && cargo run + +Collect test coverage +===================== + +Setup (one time): +cargo install grcov +rustup component add llvm-tools-preview + +Then run: +./coverage.sh + + +Update sqlx in "offline mode" +============================= +cargo sqlx prepare -- --all-targets --all-features -- cgit v1.2.3-70-g09d2