-
Notifications
You must be signed in to change notification settings - Fork 112
Add Git actions for Codecov #487
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
Comments
do you mind taking a lead and mentor @Shaunak01 on this issue? |
Is there a reason to create a new issue? I think we can continue with the old one - https://github.com/causify-ai/cmamp/issues/11539 If there is no reason, feel free to transfer info to the old one and close this issue |
Yes, sure. |
Let's not mix workflow responsibilities - let's keep this as a separate workflow. |
We wanted to test in helpers only so opening the issue here from cmamp.
Sure, can we start by modifying the helpers repo only |
Yes, feel free to use test_coverage.yml as a base. |
PR: #516 |
Take a look at how the coverage looks: https://app.codecov.io/github/causify-ai/helpers/tree/HelpersTask487_Add_Git_actions_for_Codecov_3/ We get a 14 day free trial for complete org so we can do that if we like this service. |
|
Codecov supports a configuration file (typically named codecov.yml) where you can set targets and thresholds for your project’s overall coverage. When you configure these settings, Codecov will automatically compare the new coverage data to the baseline for each PR and flag (or even fail) PRs if the coverage drop exceeds your allowed buffer. |
Ok pretty cool. Let's create a short markdown document about this system explaining how it works, how to configure it, etc. We can start with //helpers and then use the same approach in all repos. |
@gpsaggese @samarth9008 Initially, I thought that:
However, considering: #487 (comment)
My questions is:
Update: We already have something in the #516 It probably needs some setup to make it work. |
Can we re iterate on the high level goals as suggested by @dremdem
|
Makes sense? |
@Shaunak01 After that, we can proceed with the next steps. |
We want to integrate Codecov to track and display coverage for our test suite. This will help us keep track of code quality and maintain a healthy testing culture. Below is the plan:
Steps and info for activating CodeCov: https://app.codecov.io/github/causify-ai/helpers/new
Steps:
Requirements
In a GitHub Action, run tests and generate a coverage report:
@samarth9008 @dremdem as you are working in restructuring our git actions can you guide as to where we should add codecov actions? The token is already added to
helpers
so we just have to add the actions.This is just for test purposes, we have not bought this service yet. I will document this once tested or we solidify the plan.
FYI @gpsaggese pls guide if you can as well.
The text was updated successfully, but these errors were encountered: