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 rule for local coverage reports #3

Merged
merged 1 commit into from
Dec 24, 2023

Conversation

oliverlee
Copy link
Owner

Add lcov 1.16 as an external dependency and define a rule to generate a
coverage report using lcov.

Enable branch coverage with GCC and move most coverage options out of
.bazelrc and to target //tools:lcov_list.

Update CI to use coverage data produced by //tools:lcov_list.

Change-Id: I37d33c025105fc85371605e0167d63d26becd74f

@oliverlee oliverlee enabled auto-merge (squash) December 24, 2023 01:19
@oliverlee oliverlee force-pushed the I37d33c025105fc85371605e0167d63d26becd74f branch from f54ec74 to 95568c1 Compare December 24, 2023 01:19
@codecov-commenter
Copy link

codecov-commenter commented Dec 24, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (54c92a8) 97.98% compared to head (e9db832) 79.31%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             main       #3       +/-   ##
===========================================
- Coverage   97.98%   79.31%   -18.68%     
===========================================
  Files          29       14       -15     
  Lines         398      232      -166     
  Branches        0       53       +53     
===========================================
- Hits          390      184      -206     
+ Misses          8        6        -2     
- Partials        0       42       +42     

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

Add lcov 1.16 as an external dependency and define a rule to generate a
coverage report using lcov.

Enable branch coverage with GCC and move most coverage options out of
.bazelrc and to target `//tools:lcov_list`.

Update CI to use coverage data produced by `//tools:lcov_list`.

Change-Id: I37d33c025105fc85371605e0167d63d26becd74f
@oliverlee oliverlee force-pushed the I37d33c025105fc85371605e0167d63d26becd74f branch from 95568c1 to e9db832 Compare December 24, 2023 01:39
@oliverlee oliverlee merged commit 36963e6 into main Dec 24, 2023
13 checks passed
@oliverlee oliverlee deleted the I37d33c025105fc85371605e0167d63d26becd74f branch December 24, 2023 01:42
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.

2 participants