-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d172c48
commit 0b538a4
Showing
3 changed files
with
123 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +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 | ||
cargo-tarpaulin --workspace --all-features --out xml --exclude ethereum_ssz_derive | ||
|
||
.PHONY: coverage |
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,8 @@ | ||
coverage: | ||
status: | ||
project: | ||
default: | ||
informational: true | ||
patch: | ||
default: | ||
informational: true |
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