-
Notifications
You must be signed in to change notification settings - Fork 540
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 optional CI job for integration tests with cudf.pandas #5881
Merged
rapids-bot
merged 11 commits into
rapidsai:branch-24.06
from
dantegd:2406-ci-integration
May 6, 2024
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
278438c
FEA Add optional CI job for integration tests
dantegd 741f339
FIX forgot test job in needs section of gha file
dantegd 3655f6e
DBG remove optional flag
dantegd 4cabd82
DBG add optional flag back
dantegd f5f4a2a
DBG remove optional flag
dantegd 242e0b0
FIX name of script to call integration tests
dantegd d76befe
FEA Use new optional jobs functionaluty frok shared-workflows
dantegd 5ac19ca
FIX remove job from needs section
dantegd eaad25d
Empty-Commit
dantegd c4a27b0
DBG remove ignored_pr_jobs from checks
dantegd d6979c5
ENH add ignore jobs back and switch to branch-24.06
dantegd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2024, NVIDIA CORPORATION. | ||
|
||
# Support invoking run_cuml_singlegpu_pytests.sh outside the script directory | ||
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../python/cuml/tests | ||
|
||
python -m pytest -p cudf.pandas --cache-clear --ignore=dask -m "not memleak" "$@" --quick_run . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2024, NVIDIA CORPORATION. | ||
|
||
# Support invoking test_python_singlegpu.sh outside the script directory | ||
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../ | ||
|
||
# Common setup steps shared by Python test jobs | ||
source ./ci/test_python_common.sh | ||
|
||
EXITCODE=0 | ||
trap "EXITCODE=1" ERR | ||
set +e | ||
|
||
rapids-logger "pytest cuml integration" | ||
./ci/run_cuml_integration_pytests.sh \ | ||
--numprocesses=8 \ | ||
--dist=worksteal \ | ||
--junitxml="${RAPIDS_TESTS_DIR}/junit-cuml.xml" \ | ||
--cov-config=../../.coveragerc \ | ||
--cov=cuml \ | ||
--cov-report=xml:"${RAPIDS_COVERAGE_DIR}/cuml-coverage.xml" \ | ||
--cov-report=term | ||
|
||
rapids-logger "Test script exiting with value: $EXITCODE" | ||
exit ${EXITCODE} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
continued naming nitpick: can we call it
run_cudf_pandas_integration_pytests.sh
? We are in the cuml repo, so "cuml integration tests" feels like a tautology, while "cudf pandas integration testing" tells me something about what we are testing. Without having to go through the layers of shell scripts to then read and understand the meaning of the option in pytest command. Three weeks ago I am not sure I'd have quickly grasped that-p cudf.pandas
is the relevant but in thepytest
command line and that it enables integration testing.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.
That's a good point, will rename it