Skip to content

Commit

Permalink
Fix path for xdg-open, add ./ for paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-pease authored and tluijken committed May 30, 2024
1 parent 6da256d commit e6c0e43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code-coverage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test --manifest-path=stellar_rust_sdk/Cargo.toml
grcov . --binary-path stellar_rust_sdk/target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o stellar_rust_sdk/target/coverage/html
rm stellar_rust_sdk/*.profraw
CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' LLVM_PROFILE_FILE='cargo-test-%p-%m.profraw' cargo test --manifest-path=./stellar_rust_sdk/Cargo.toml
grcov . --binary-path ./stellar_rust_sdk/target/debug/deps/ -s . -t html --branch --ignore-not-existing --ignore '../*' --ignore "/*" -o ./stellar_rust_sdk/target/coverage/html
rm ./stellar_rust_sdk/*.profraw
# open the coverage report in the browser
xdg-open target/coverage/html/index.html
xdg-open ./stellar_rust_sdk/target/coverage/html/index.html

0 comments on commit e6c0e43

Please sign in to comment.