-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add code coverage * Rerun CI * Fix proc-macro dynamic lib * Fix github action --------- Co-authored-by: Michael Sproul <[email protected]>
- Loading branch information
1 parent
852ff75
commit 58cbde5
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
Cargo.lock | ||
target | ||
cobertura.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# These hacks are required for the test binaries depending on the dynamic library libstd-*.so | ||
# See: https://github.com/rust-lang/cargo/issues/4651 | ||
# | ||
# We also need to exclude the derive macro from coverage because it will always show as 0% by | ||
# virtue of executing at compile-time outside the view of Tarpaulin. | ||
coverage: | ||
env LD_LIBRARY_PATH="$(shell rustc --print sysroot)/lib" \ | ||
cargo-tarpaulin --workspace --all-features --out xml --exclude tree_hash_derive | ||
|
||
.PHONY: coverage |