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

feat: Add component filter to badges #1216

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

spalmurray-codecov
Copy link
Contributor

@spalmurray-codecov spalmurray-codecov commented Mar 18, 2025

Adds a component filter for our coverage badge.

Closes codecov/engineering-team#3223

Examples
Gazebo total:
codecov
https://stage-web.codecov.dev/github/codecov/gazebo/graph/badge.svg?token=DUTYQE693J&precision=2

Gazebo Pages component (by name):
codecov
https://stage-web.codecov.dev/github/codecov/gazebo/graph/badge.svg?token=DUTYQE693J&precision=2&component=Pages

Gazebo Pages component (by id):
codecov
https://stage-web.codecov.dev/github/codecov/gazebo/graph/badge.svg?token=DUTYQE693J&precision=2&component=dir_pages

(and I have confirmed these are correct lol)

Copy link
Contributor

sentry-autofix bot commented Mar 18, 2025

✅ Sentry found no issues in your recent changes ✅

Copy link

codecov bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.31%. Comparing base (6e6d2be) to head (277c9d3).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1216   +/-   ##
=======================================
  Coverage   96.31%   96.31%           
=======================================
  Files         492      492           
  Lines       16805    16823   +18     
=======================================
+ Hits        16185    16203   +18     
  Misses        620      620           
Flag Coverage Δ
unit 96.31% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@codecov-notifications
Copy link

codecov-notifications bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@spalmurray spalmurray force-pushed the spalmurray/component-badges branch from c0a42fd to 277c9d3 Compare March 21, 2025 18:49
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.

Component Badges
3 participants