diff --git a/README.md b/README.md index d9d39f3..6b88b47 100644 --- a/README.md +++ b/README.md @@ -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) + [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT) # Murray-rs diff --git a/generate_coverage.sh b/generate_coverage.sh index 8b40a8e..f9acf80 100755 --- a/generate_coverage.sh +++ b/generate_coverage.sh @@ -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() {