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

[WX-1605] Fix Codecov Report Uploads #7418

Merged
merged 6 commits into from
May 2, 2024
Merged

[WX-1605] Fix Codecov Report Uploads #7418

merged 6 commits into from
May 2, 2024

Conversation

THWiseman
Copy link
Contributor

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.

@THWiseman THWiseman requested a review from a team as a code owner May 2, 2024 17:51
Copy link
Collaborator

@aednichols aednichols left a 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.
Copy link
Collaborator

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.

Copy link
Contributor Author

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!

Copy link
Contributor Author

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.

@THWiseman THWiseman merged commit f9372f9 into develop May 2, 2024
36 checks passed
@THWiseman THWiseman deleted the WX-1605 branch May 2, 2024 19:32
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