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

Ensure pytest is run from relevant directories in GH Actions #5101

Merged
merged 4 commits into from
Dec 21, 2022
Merged

Ensure pytest is run from relevant directories in GH Actions #5101

merged 4 commits into from
Dec 21, 2022

Conversation

ajschmidt8
Copy link
Member

This PR undoes some erroneous changes I made in #5075.

According to @bdice, it's necessary to cd into the relevant directories when running pytest to avoid issues with codecov.

@ajschmidt8 ajschmidt8 added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Dec 21, 2022
@ajschmidt8 ajschmidt8 requested a review from a team as a code owner December 21, 2022 17:56
@github-actions github-actions bot added the ci label Dec 21, 2022
@bdice
Copy link
Contributor

bdice commented Dec 21, 2022

We found issues with cudf where pytest-xdist and code coverage didn't play well unless we were in just the right directory. This comment is left over from that discovery:

https://github.com/rapidsai/cudf/blob/1d81fbb398cd9260a98164eeec5b98c7ae56a95d/ci/test_python_cudf.sh#L15

ci/test_python_dask.sh Outdated Show resolved Hide resolved
@ajschmidt8
Copy link
Member Author

(The Jenkins failure is expected. I manually canceled the Jenkins job for this PR since we've officially disabled Jenkins for cuml now).

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (branch-23.02@b67e912). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff               @@
##             branch-23.02    #5101   +/-   ##
===============================================
  Coverage                ?   69.30%           
===============================================
  Files                   ?      192           
  Lines                   ?    12369           
  Branches                ?        0           
===============================================
  Hits                    ?     8572           
  Misses                  ?     3797           
  Partials                ?        0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@ajschmidt8
Copy link
Member Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 58edeb4 into rapidsai:branch-23.02 Dec 21, 2022
@ajschmidt8 ajschmidt8 deleted the fix-pytest-gha branch December 21, 2022 20:23
jakirkham pushed a commit to jakirkham/cuml that referenced this pull request Feb 27, 2023
…sai#5101)

This PR undoes some erroneous changes I made in rapidsai#5075.

According to @bdice, it's necessary to `cd` into the relevant directories when running `pytest` to avoid issues with `codecov`.

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Sevag H (https://github.com/sevagh)
  - Bradley Dice (https://github.com/bdice)

URL: rapidsai#5101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants