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

Add environment-agnostic scripts for running ctests and pytests #4152

Merged
merged 13 commits into from
Feb 21, 2024

Conversation

trxcllnt
Copy link
Collaborator

@trxcllnt trxcllnt commented Feb 7, 2024

This PR adds environment-agnostic run_*_{ctests,pytests}.sh scripts, and updates test_*_{cpp,python}.sh to call them.

The test_*_{cpp,python}.sh scripts assume they're running in our CI environment, and they do more than just run the tests.

This PR allows devs and downstream consumers to only run the tests, and skip the unrelated logic in test_*_{cpp,python}.sh.

@trxcllnt trxcllnt added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 7, 2024
@trxcllnt trxcllnt requested a review from a team as a code owner February 7, 2024 09:19
@github-actions github-actions bot added the ci label Feb 7, 2024
@trxcllnt
Copy link
Collaborator Author

trxcllnt commented Feb 7, 2024

Seems like the C++ tests are silently failing, but seeing #4148, I don't think it's related to the changes in this PR.

@bdice
Copy link
Contributor

bdice commented Feb 7, 2024

The silent failure of C++ tests should be fixed by rapidsai/rapids-cmake#533 which was merged two hours ago. You'll have to restart the whole workflow (not just rerun tests).

@trxcllnt trxcllnt force-pushed the fea/generic-test-scripts branch from 5d5151c to f139507 Compare February 11, 2024 03:37
@github-actions github-actions bot added the conda label Feb 11, 2024
@github-actions github-actions bot removed the conda label Feb 12, 2024
@rlratzel
Copy link
Contributor

/merge

@rapids-bot rapids-bot bot merged commit fef6440 into rapidsai:branch-24.04 Feb 21, 2024
110 checks passed
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