-
Notifications
You must be signed in to change notification settings - Fork 933
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'branch-25.04' into fea/polars/include-file-paths
- Loading branch information
Showing
145 changed files
with
3,452 additions
and
2,325 deletions.
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 |
---|---|---|
|
@@ -24,7 +24,6 @@ jobs: | |
- conda-python-cudf-tests | ||
- conda-python-other-tests | ||
- conda-java-tests | ||
- static-configure | ||
- conda-notebook-tests | ||
- docs-build | ||
- wheel-build-libcudf | ||
|
@@ -40,6 +39,7 @@ jobs: | |
- unit-tests-cudf-pandas | ||
- pandas-tests | ||
- pandas-tests-diff | ||
- narwhals-tests | ||
- telemetry-setup | ||
- third-party-integration-tests-cudf-pandas | ||
secrets: inherit | ||
|
@@ -191,16 +191,6 @@ jobs: | |
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/test_java.sh" | ||
static-configure: | ||
needs: checks | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: pull-request | ||
# Use the wheel container so we can skip conda solves and since our | ||
# primary static consumers (Spark) are not in conda anyway. | ||
container_image: "rapidsai/ci-wheel:latest" | ||
run_script: "ci/configure_cpp_static.sh" | ||
conda-notebook-tests: | ||
needs: [conda-python-build, changed-files] | ||
secrets: inherit | ||
|
@@ -358,6 +348,20 @@ jobs: | |
node_type: "cpu4" | ||
build_type: pull-request | ||
run_script: "ci/cudf_pandas_scripts/pandas-tests/diff.sh" | ||
narwhals-tests: | ||
needs: [conda-python-build, changed-files] | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
if: fromJSON(needs.changed-files.outputs.changed_file_groups).test_python | ||
with: | ||
build_type: pull-request | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
node_type: "gpu-l4-latest-1" | ||
continue-on-error: true | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: ci/test_narwhals.sh | ||
spark-rapids-jni: | ||
needs: changed-files | ||
uses: ./.github/workflows/spark-rapids-jni.yaml | ||
|
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 |
---|---|---|
|
@@ -46,18 +46,6 @@ jobs: | |
arch: "amd64" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: "ci/test_cpp_memcheck.sh" | ||
static-configure: | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type }} | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
# Use the wheel container so we can skip conda solves and since our | ||
# primary static consumers (Spark) are not in conda anyway. | ||
container_image: "rapidsai/ci-wheel:latest" | ||
run_script: "ci/configure_cpp_static.sh" | ||
cpp-linters: | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
|
@@ -168,3 +156,14 @@ jobs: | |
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
script: "ci/test_cudf_polars_polars_tests.sh" | ||
narwhals-tests: | ||
secrets: inherit | ||
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | ||
with: | ||
build_type: ${{ inputs.build_type }} | ||
branch: ${{ inputs.branch }} | ||
date: ${{ inputs.date }} | ||
sha: ${{ inputs.sha }} | ||
node_type: "gpu-l4-latest-1" | ||
container_image: "rapidsai/ci-conda:latest" | ||
run_script: ci/test_narwhals.sh |
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
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 was deleted.
Oops, something went wrong.
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
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,45 @@ | ||
#!/bin/bash | ||
# Copyright (c) 2025, NVIDIA CORPORATION. | ||
|
||
# Support invoking test_python_cudf.sh outside the script directory | ||
cd "$(dirname "$(realpath "${BASH_SOURCE[0]}")")"/../ || exit 1 | ||
|
||
# Common setup steps shared by Python test jobs | ||
source ./ci/test_python_common.sh test_python_narwhals | ||
|
||
rapids-logger "Check GPU usage" | ||
nvidia-smi | ||
rapids-print-env | ||
EXITCODE=0 | ||
trap "EXITCODE=1" ERR | ||
set +e | ||
|
||
rapids-logger "pytest narwhals" | ||
git clone https://github.com/narwhals-dev/narwhals --depth=1 | ||
pushd narwhals || exit 1 | ||
rapids-pip-retry install -U -e ".[dev]" | ||
|
||
rapids-logger "Check narwhals versions" | ||
python -c "import narwhals; print(narwhals.show_versions())" | ||
|
||
rapids-logger "Run narwhals tests for cuDF" | ||
python -m pytest \ | ||
--cache-clear \ | ||
--junitxml="${RAPIDS_TESTS_DIR}/junit-cudf-narwhals.xml" \ | ||
-p cudf.testing.narwhals_test_plugin \ | ||
--numprocesses=8 \ | ||
--dist=worksteal \ | ||
--constructors=cudf | ||
|
||
rapids-logger "Run narwhals tests for cuDF Polars" | ||
NARWHALS_POLARS_GPU=1 python -m pytest \ | ||
--cache-clear \ | ||
--junitxml="${RAPIDS_TESTS_DIR}/junit-cudf-polars-narwhals.xml" \ | ||
--numprocesses=8 \ | ||
--dist=worksteal \ | ||
--constructors=polars[lazy] | ||
|
||
popd || exit 1 | ||
|
||
rapids-logger "Test script exiting with value: $EXITCODE" | ||
exit ${EXITCODE} |
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
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
Oops, something went wrong.