ci: include gtests in code coverage report#3385
Open
harrylin98 wants to merge 1 commit intovalkey-io:unstablefrom
Open
ci: include gtests in code coverage report#3385harrylin98 wants to merge 1 commit intovalkey-io:unstablefrom
harrylin98 wants to merge 1 commit intovalkey-io:unstablefrom
Conversation
2aa0f43 to
ae881d3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #3385 +/- ##
============================================
+ Coverage 74.56% 76.37% +1.81%
============================================
Files 130 159 +29
Lines 72730 79631 +6901
============================================
+ Hits 54228 60815 +6587
- Misses 18502 18816 +314 🚀 New features to boost your workflow:
|
.github/workflows/codecov.yml
Outdated
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | ||
| - name: Install gtest | ||
| run: | | ||
| git clone --depth 1 https://github.com/google/googletest.git |
There was a problem hiding this comment.
same ask as on the other PR, should we pin to a major version here instead of just taking git?
Contributor
Author
There was a problem hiding this comment.
You are right about this. I will pick a stable version.
fa8cdb3 to
018871c
Compare
Signed-off-by: harrylin98 <[email protected]>
018871c to
3f4a300
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The change includes running gtest unit tests in the code coverage report.