mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-26 18:36:28 +00:00
Generate test coverage report in CircleCI (#110)
* coverage? * generate_coverage * +x * 1.62.1 * 62 * ignore * store * quote
This commit is contained in:
committed by
GitHub
parent
b828e62408
commit
b79f55abd6
7
.circleci/generate_coverage.sh
Executable file
7
.circleci/generate_coverage.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
rust-profdata merge -sparse pgcat-*.profraw -o pgcat.profdata
|
||||
|
||||
rust-cov export -ignore-filename-regex="rustc|registry" -Xdemangler=rustfilt -instr-profile=pgcat.profdata --object ./target/debug/pgcat --format lcov > ./lcov.info
|
||||
|
||||
genhtml lcov.info --output-directory /tmp/cov --prefix $(pwd)
|
||||
Reference in New Issue
Block a user