-
Notifications
You must be signed in to change notification settings - Fork 7
chore: setup test coverage #949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
0bd6c60
setup cargo llvm-cov
oXtxNt9U a22b4a6
use test:coverage
oXtxNt9U f36270e
check coverage example
oXtxNt9U 1c76b67
add contracts/coverage.sh
oXtxNt9U 841aadc
run contracts coverage on CI
oXtxNt9U a03bfb9
update .gitignore
oXtxNt9U c87321e
style: resolve style guide violations
oXtxNt9U 3ad1235
use bash
oXtxNt9U cc0558e
lower threshold
oXtxNt9U 5f24066
Temporary disable tests
sebastijankuzner 4619c04
Create lcov.info in rust
sebastijankuzner 21e13eb
Create lcov in c8
sebastijankuzner bd58d27
Add lcov-result-merger
sebastijankuzner 1a003fa
Add scripts
sebastijankuzner 719b972
Ignore merged-lcov.info
sebastijankuzner 67d5289
Add codecov report
sebastijankuzner 24d028e
style: resolve style guide violations
sebastijankuzner 5a4e25d
Enable tests
sebastijankuzner b33d6e2
Merge branch 'develop' into chore/ci/coverage
sebastijankuzner 0b1822a
Include all files
sebastijankuzner 7f46e23
Filter test dir in contracts
sebastijankuzner d4b5131
Remove --workspace flag
sebastijankuzner eeda323
Use relative paths
sebastijankuzner 8e6791d
Use custom merger
sebastijankuzner a79e68d
Include contracts
sebastijankuzner 548b7cc
CI coverage for contracts
sebastijankuzner c7f9a52
style: resolve style guide violations
sebastijankuzner 4b51ae5
increase timeout
oXtxNt9U 39f8b2c
Skip if token is not present
sebastijankuzner File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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,5 @@ | ||
| #!/bin/bash | ||
|
|
||
| forge coverage --report lcov | ||
| sed -n '/^SF:test\//!p;/^SF:test\//q' lcov.info > filtered-lcov.info | ||
| mv filtered-lcov.info lcov.info |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.