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 .codecov.yml status checks #618

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Add .codecov.yml status checks #618

wants to merge 1 commit into from

Conversation

pstjohn
Copy link
Collaborator

@pstjohn pstjohn commented Jan 17, 2025

Adds PR status checks for codecov.

See https://docs.codecov.com/docs/commit-status for more details on what this looks like

Signed-off-by: Peter St. John <[email protected]>
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.62%. Comparing base (7f9dd97) to head (f9aa3d8).

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #618   +/-   ##
=======================================
  Coverage   86.62%   86.62%           
=======================================
  Files         116      116           
  Lines        6961     6961           
=======================================
  Hits         6030     6030           
  Misses        931      931           

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

project:
default: false # disable the default status that measures entire project
tests: # declare a new status context "tests"
target: 100% # we always want 100% coverage here
Copy link
Collaborator

Choose a reason for hiding this comment

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

100% is a high target -- 80% is sufficient?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Right, the coverage is 100% for tests. I.e., all the test code you wrote was actually executed.
https://www.youtube.com/watch?v=70T6OxKwxm0

Although I'm not seeing our current test coverage in codecov, so I'm not sure this will work

@pstjohn pstjohn requested a review from jomitchellnv January 28, 2025 18:27
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