summaryrefslogtreecommitdiff
path: root/server/README
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-02-03 23:10:17 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-02-03 23:10:17 +0100
commit67331b851295b0067f74cd410aef7986aa6a848e (patch)
treee97a64db7e6a8ac5a0509766e799fd7bf7c2474e /server/README
parent85e6c3ae1f4315138bbd68feb5bb7cebc24f6ae2 (diff)
Document coverage collection and how to update sqlx
Diffstat (limited to 'server/README')
-rw-r--r--server/README15
1 files changed, 15 insertions, 0 deletions
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