-
Notifications
You must be signed in to change notification settings - Fork 32
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
codecov: do not fail ci on error #228
Conversation
KevFan
commented
Aug 10, 2023
- Prevent codecov from failing ci on error due to flakiness with codecov upload
Codecov Report
@@ Coverage Diff @@
## main #228 +/- ##
==========================================
+ Coverage 61.79% 62.53% +0.73%
==========================================
Files 33 33
Lines 3112 3112
==========================================
+ Hits 1923 1946 +23
+ Misses 998 980 -18
+ Partials 191 186 -5
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Looks good to me
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.
Hey @KevFan!
The CodeCov uploads the results two times: for unit tests and for integration tests separately. Please, check out the line 90 in test.yaml to change the true
condition to false
for integration tests too:
- name: Upload integration-test coverage reports to CodeCov # more at https://github.com/codecov/codecov-action
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
flags: integration
fail_ci_if_error: true
verbose: true
Thanks @art-tapin ! Good catch, I've pushed that change just now 👍 |