-
Notifications
You must be signed in to change notification settings - Fork 358
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
[WX-1605] Fix Codecov Report Uploads #7418
Conversation
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.
Works for me if tests pass!
- uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
fail_ci_if_error: true # Tolerate missing codecov reports, since not all suites generate them. |
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.
I think we want false
here, the no-coverage suites are failing.
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.
Trying to figure out if there's a way to fail loudly if the upload fails, but also tolerate missing code-coverage for certain suites. The handle_no_reports_found
flag does not work!
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.
Giving up on this for now. Will just leave fail_ci_if_error
as false
.
The old way of uploading coverage repots to CodeCov has broken. Using this github action is now the preferred method.
This branch also required adding a secret to this repository. I got the token from the codecov settings page.