Skip to content

Commit

Permalink
Improve README and generate_coverage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilospanck committed Mar 17, 2024
1 parent 7048383 commit c9796db
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
![Build Status](https://github.com/Guilospanck/murray-rs/actions/workflows/tests.yml/badge.svg?branch=master)](https://github.com/Guilospanck/murray-rs/actions/workflows/tests.yml)
[![codecov](https://codecov.io/gh/Guilospanck/murray-rs/graph/badge.svg?token=E87lAHhkfC)](https://codecov.io/gh/Guilospanck/murray-rs)
<!-- [![crates.io](https://img.shields.io/crates/v/grcov.svg)](https://crates.io/crates/grcov) -->
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)

# Murray-rs
Expand Down
13 changes: 12 additions & 1 deletion generate_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,18 @@ run_tests() {

run_gcov() {
echo "> Running gcov";
grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing --keep-only "src/prices/mod.rs" --keep-only "src/blockchain/mod.rs" --keep-only "src/lightning/mod.rs" --keep-only "tests/*" -o ./target/debug/coverage/;
# grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing --keep-only "src/prices/mod.rs" --keep-only "src/blockchain/mod.rs" --keep-only "src/lightning/mod.rs" --keep-only "tests/*" -o ./target/debug/coverage/;
grcov . \
--branch \
--ignore-not-existing \
--keep-only "src/prices/mod.rs" \
--keep-only "src/blockchain/mod.rs" \
--keep-only "src/lightning/mod.rs" \
--keep-only "tests/*" \
--binary-path ./target/debug/ \
-s . \
-t html \
-o ./target/debug/coverage/;
}

generate_coverage() {
Expand Down

0 comments on commit c9796db

Please sign in to comment.