fix PATH #17301
Workflow file for this 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
name: pr | |
on: | |
push: | |
branches: | |
- "pull-request/[0-9]+" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
pr-builder: | |
needs: | |
- wheel-build-libcudf | |
- wheel-build-pylibcudf | |
- wheel-build-cudf | |
- wheel-tests-cudf | |
- wheel-build-cudf-polars | |
- wheel-tests-cudf-polars | |
- cudf-polars-polars-tests | |
- wheel-build-dask-cudf | |
- wheel-tests-dask-cudf | |
- unit-tests-cudf-pandas | |
- pandas-tests | |
- pandas-tests-diff | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
if: always() | |
with: | |
needs: ${{ toJSON(needs) }} | |
wheel-build-libcudf: | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# build for every combination of arch and CUDA version, but only for the latest Python | |
matrix_filter: group_by([.ARCH, (.CUDA_VER|split(".")|map(tonumber)|.[0])]) | map(max_by(.PY_VER|split(".")|map(tonumber))) | |
build_type: pull-request | |
script: "ci/build_wheel_libcudf.sh" | |
wheel-build-pylibcudf: | |
needs: [wheel-build-libcudf] | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
build_type: pull-request | |
script: "ci/build_wheel_pylibcudf.sh" | |
wheel-build-cudf: | |
needs: wheel-build-pylibcudf | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
build_type: pull-request | |
script: "ci/build_wheel_cudf.sh" | |
wheel-tests-cudf: | |
needs: [wheel-build-cudf] | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
build_type: pull-request | |
script: ci/test_wheel_cudf.sh | |
wheel-build-cudf-polars: | |
needs: wheel-build-pylibcudf | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
script: "ci/build_wheel_cudf_polars.sh" | |
wheel-tests-cudf-polars: | |
needs: [wheel-build-cudf-polars] | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
# This always runs, but only fails if this PR touches code in | |
# pylibcudf or cudf_polars | |
script: "ci/test_wheel_cudf_polars.sh" | |
cudf-polars-polars-tests: | |
needs: wheel-build-cudf-polars | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
# This always runs, but only fails if this PR touches code in | |
# pylibcudf or cudf_polars | |
script: "ci/test_cudf_polars_polars_tests.sh" | |
wheel-build-dask-cudf: | |
needs: wheel-build-cudf | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
script: "ci/build_wheel_dask_cudf.sh" | |
wheel-tests-dask-cudf: | |
needs: [wheel-build-dask-cudf] | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
script: ci/test_wheel_dask_cudf.sh | |
unit-tests-cudf-pandas: | |
needs: [wheel-build-cudf] | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
script: ci/cudf_pandas_scripts/run_tests.sh | |
pandas-tests: | |
# run the Pandas unit tests using PR branch | |
needs: [wheel-build-cudf] | |
secrets: inherit | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
# This selects "ARCH=amd64 + the latest supported Python + CUDA". | |
matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))])) | |
build_type: pull-request | |
script: ci/cudf_pandas_scripts/pandas-tests/run.sh pr | |
# Hide test failures because they exceed the GITHUB_STEP_SUMMARY output limit. | |
test_summary_show: "none" | |
pandas-tests-diff: | |
# diff the results of running the Pandas unit tests and publish a job summary | |
needs: pandas-tests | |
uses: rapidsai/shared-workflows/.github/workflows/[email protected] | |
with: | |
node_type: cpu4 | |
build_type: pull-request | |
run_script: "ci/cudf_pandas_scripts/pandas-tests/diff.sh" |