forked from 0LNetworkCommunity/libra-legacy-v5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We need to track the code coverage to make sure the basic testing is in place to exercise all the code. We are adding grcov to the CI pipeline to collect and aggregate code coverage. The coverage result is uploaded to codecov.io. The dashboard can help visualize the breakdown of test coverage. Closes: #1420 Approved by: bob-wilson
- Loading branch information
1 parent
907dc9a
commit ad93795
Showing
3 changed files
with
51 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
codecov: | ||
require_ci_to_pass: true | ||
|
||
ignore: | ||
- testsuite/* | ||
- x/* | ||
|
||
coverage: | ||
# range for color spectrum display, red=50%, green=80% | ||
range: "50...80" | ||
round: down | ||
precision: 1 | ||
|
||
status: | ||
project: true | ||
patch: true | ||
changes: false |
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