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

Use codecov from CI images #23

Merged
merged 7 commits into from
Nov 30, 2022
Merged

Use codecov from CI images #23

merged 7 commits into from
Nov 30, 2022

Conversation

ajschmidt8
Copy link
Member

This PR includes the following changes:

  • Updates the codecov implementation to use the binary included in our CI images
    • This is to address the intermittent timeouts that we were experiencing with codecov/codecov-action@v3
  • Ensures that codecov only runs on x86/x86_64 machines
  • Removes the build_type == 'pull-request' restriction from the codecov step
    • This is to ensure we have codecov results for base branches (see here for why that's important)
  • Creates a new RAPIDS_TESTS_DIR environment variable whose value is a directory path where unit test results can be saved to

changes `codecov` implementation to use binary instead of GH Action wrapper.
The GH Action wrapper seemed to intermittently fail. Hopefully using the binary directly fixes that
directory: ${{ env.RAPIDS_COVERAGE_DIR }}
verbose: true
- name: Run codecov
if: inputs.run_codecov && contains(fromJson('["X64", "X86"]'), runner.arch)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably only need one value here, right? Which is it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably only X64. I got the full list of values at the link below. I'll update it.

@ajschmidt8 ajschmidt8 merged commit 4bf3441 into main Nov 30, 2022
@ajschmidt8 ajschmidt8 deleted the codecov-test branch December 30, 2022 20:20
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.

2 participants