-
Notifications
You must be signed in to change notification settings - Fork 114
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
Run Codecov Workflow only when PR is ready #1114
Run Codecov Workflow only when PR is ready #1114
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## service_rewrite_2023 #1114 +/- ##
=====================================================
Coverage 58.80% 58.80%
=====================================================
Files 26 26
Lines 1420 1420
Branches 320 320
=====================================================
Hits 835 835
Misses 585 585
Flags with carried forward coverage won't be shown. Click here to find out more. |
@JGreenlee |
@jiji14 I think as long as the expectation is for contributors to run the tests locally before they mark a PR as ready, this makes sense. The plan was to extract Jest testing out of the osx-serve-install workflow at some point anyway |
@JGreenlee |
If a contributor forgets to run tests locally, they would mark it ready for review causing the workflow to run, and checks might fail. In this scenario, do they have a way to re-trigger the workflow after making fixes? Can they mark it ready for review again? |
I've just verified that Codecov is executed whenever the PR status transitions from In your scenario,
Does this clarify the process? |
Yes it does!
Then I think we can remove Jest from the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Why Change the Workflow?
Sending a coverage report to
Codecov
with GitHub Action without a token encounters a rate limit issue. For more details, please refer to the comments on issue #1085.In the current flow, the
Codecov
workflow runs whenever we push code to PR. To address the rate limit issue, we have decided to run the workflow only when we are ready for review.When PR is draft