Skip to content
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

Add coverage_report target #1058

Merged
merged 5 commits into from
Dec 21, 2023
Merged

Conversation

Bronek
Copy link
Collaborator

@Bronek Bronek commented Dec 19, 2023

Reusing the same CodeCoverage.cmake as in XRPLF/rippled#4849

NOTE This PR should be only merged by someone with administrative access to the repo, since it makes use of secrets.CODECOV_TOKEN. If I understand github workflows correctly, a commit (merge) made by someone without access to repo secrets would result in this change not having this access either, which will lead to spurious failures of codecov integration

@Bronek Bronek force-pushed the feature/coverage_report branch from bec6ba3 to 258a07b Compare December 19, 2023 18:47
cindyyan317
cindyyan317 previously approved these changes Dec 20, 2023
Copy link
Collaborator

@cindyyan317 cindyyan317 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Bronek Bronek force-pushed the feature/coverage_report branch 10 times, most recently from 4556636 to 388948b Compare December 20, 2023 17:16
Copy link

codecov bot commented Dec 20, 2023

Codecov Report

Attention: 1495 lines in your changes are missing coverage. Please review.

Comparison is base (2336148) 34.55% compared to head (a102068) 54.10%.
Report is 133 commits behind head on develop.

Files Patch % Lines
src/etl/Source.h 0.00% 258 Missing ⚠️
src/data/CassandraBackend.h 0.00% 203 Missing ⚠️
src/data/cassandra/impl/ExecutionStrategy.h 0.00% 105 Missing ⚠️
src/data/cassandra/Schema.h 0.00% 89 Missing ⚠️
src/etl/impl/Transformer.h 11.49% 58 Missing and 19 partials ⚠️
src/etl/impl/AsyncData.h 0.00% 76 Missing ⚠️
src/etl/LoadBalancer.cpp 0.00% 73 Missing ⚠️
src/etl/ETLService.cpp 0.00% 72 Missing ⚠️
src/etl/impl/CacheLoader.h 12.82% 48 Missing and 20 partials ⚠️
src/etl/impl/LedgerLoader.h 0.00% 46 Missing ⚠️
... and 39 more
Additional details and impacted files
@@             Coverage Diff              @@
##           develop    #1058       +/-   ##
============================================
+ Coverage    34.55%   54.10%   +19.55%     
============================================
  Files          161      187       +26     
  Lines         8257     9942     +1685     
  Branches      4851     5283      +432     
============================================
+ Hits          2853     5379     +2526     
- Misses        2822     3561      +739     
+ Partials      2582     1002     -1580     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Bronek Bronek changed the title Add coverage_report target [DRAFT] Add coverage_report target Dec 20, 2023
godexsoft
godexsoft previously approved these changes Dec 20, 2023
Copy link
Collaborator

@godexsoft godexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! Thank you for fixing codecov report 🚀 🥇

@Bronek Bronek changed the title [DRAFT] Add coverage_report target Add coverage_report target Dec 21, 2023
@cindyyan317 cindyyan317 merged commit a8bae96 into XRPLF:develop Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants