Skip to content

Commit

Permalink
add coverage ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Taowyoo committed Nov 1, 2023
1 parent 9376931 commit 0c8f8a3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions admin/coverage
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

set -e

source <(cargo llvm-cov show-env --export-prefix)
cargo llvm-cov clean --workspace

cargo build --locked --all-targets --all-features
cargo test --locked --all-features
cargo llvm-cov report "$@"

0 comments on commit 0c8f8a3

Please sign in to comment.