From c4f4cbf661a5f49e65ceb5faa52c9d827986f261 Mon Sep 17 00:00:00 2001 From: galipremsagar Date: Mon, 16 Sep 2024 14:50:18 +0000 Subject: [PATCH] revert --- .github/workflows/pr.yaml | 318 +++++++++++++++++++------------------- 1 file changed, 159 insertions(+), 159 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 18d1ea39d59..a4a8f036174 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -14,26 +14,26 @@ jobs: needs: - changed-files - checks - # - conda-cpp-build - # - conda-cpp-checks - # - conda-cpp-tests - # - conda-python-build - # - conda-python-cudf-tests - # - conda-python-other-tests - # - conda-java-tests + - conda-cpp-build + - conda-cpp-checks + - conda-cpp-tests + - conda-python-build + - conda-python-cudf-tests + - conda-python-other-tests + - conda-java-tests - static-configure - # - conda-notebook-tests - # - docs-build + - conda-notebook-tests + - docs-build - wheel-build-libcudf - wheel-build-pylibcudf - wheel-build-cudf - # - wheel-tests-cudf - # - wheel-build-cudf-polars - # - wheel-tests-cudf-polars - # - wheel-build-dask-cudf - # - wheel-tests-dask-cudf - # - devcontainer - # - unit-tests-cudf-pandas + - wheel-tests-cudf + - wheel-build-cudf-polars + - wheel-tests-cudf-polars + - wheel-build-dask-cudf + - wheel-tests-dask-cudf + - devcontainer + - unit-tests-cudf-pandas - pandas-tests - pandas-tests-diff secrets: inherit @@ -107,60 +107,60 @@ jobs: uses: rapidsai/shared-workflows/.github/workflows/checks.yaml@python-3.12 with: enable_check_generated_files: false - # conda-cpp-build: - # needs: checks - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@python-3.12 - # with: - # build_type: pull-request - # conda-cpp-checks: - # needs: conda-cpp-build - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-checks.yaml@python-3.12 - # with: - # build_type: pull-request - # enable_check_symbols: true - # conda-cpp-tests: - # needs: [conda-cpp-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@python-3.12 - # if: needs.changed-files.outputs.test_cpp == 'true' - # with: - # build_type: pull-request - # conda-python-build: - # needs: conda-cpp-build - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@python-3.12 - # with: - # build_type: pull-request - # conda-python-cudf-tests: - # needs: [conda-python-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@python-3.12 - # if: needs.changed-files.outputs.test_python == 'true' - # with: - # build_type: pull-request - # script: "ci/test_python_cudf.sh" - # conda-python-other-tests: - # # Tests for dask_cudf, custreamz, cudf_kafka are separated for CI parallelism - # needs: [conda-python-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@python-3.12 - # if: needs.changed-files.outputs.test_python == 'true' - # with: - # build_type: pull-request - # script: "ci/test_python_other.sh" - # conda-java-tests: - # needs: [conda-cpp-build, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.12 - # if: needs.changed-files.outputs.test_java == 'true' - # with: - # build_type: pull-request - # node_type: "gpu-v100-latest-1" - # arch: "amd64" - # container_image: "rapidsai/ci-conda:latest" - # run_script: "ci/test_java.sh" + conda-cpp-build: + needs: checks + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-build.yaml@python-3.12 + with: + build_type: pull-request + conda-cpp-checks: + needs: conda-cpp-build + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-checks.yaml@python-3.12 + with: + build_type: pull-request + enable_check_symbols: true + conda-cpp-tests: + needs: [conda-cpp-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@python-3.12 + if: needs.changed-files.outputs.test_cpp == 'true' + with: + build_type: pull-request + conda-python-build: + needs: conda-cpp-build + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@python-3.12 + with: + build_type: pull-request + conda-python-cudf-tests: + needs: [conda-python-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@python-3.12 + if: needs.changed-files.outputs.test_python == 'true' + with: + build_type: pull-request + script: "ci/test_python_cudf.sh" + conda-python-other-tests: + # Tests for dask_cudf, custreamz, cudf_kafka are separated for CI parallelism + needs: [conda-python-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@python-3.12 + if: needs.changed-files.outputs.test_python == 'true' + with: + build_type: pull-request + script: "ci/test_python_other.sh" + conda-java-tests: + needs: [conda-cpp-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.12 + if: needs.changed-files.outputs.test_java == 'true' + with: + build_type: pull-request + node_type: "gpu-v100-latest-1" + arch: "amd64" + container_image: "rapidsai/ci-conda:latest" + run_script: "ci/test_java.sh" static-configure: needs: checks secrets: inherit @@ -171,27 +171,27 @@ jobs: # 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 - # uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.12 - # if: needs.changed-files.outputs.test_notebooks == 'true' - # with: - # build_type: pull-request - # node_type: "gpu-v100-latest-1" - # arch: "amd64" - # container_image: "rapidsai/ci-conda:latest" - # run_script: "ci/test_notebooks.sh" - # docs-build: - # needs: conda-python-build - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.12 - # with: - # build_type: pull-request - # node_type: "gpu-v100-latest-1" - # arch: "amd64" - # container_image: "rapidsai/ci-conda:latest" - # run_script: "ci/build_docs.sh" + conda-notebook-tests: + needs: [conda-python-build, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.12 + if: needs.changed-files.outputs.test_notebooks == 'true' + with: + build_type: pull-request + node_type: "gpu-v100-latest-1" + arch: "amd64" + container_image: "rapidsai/ci-conda:latest" + run_script: "ci/test_notebooks.sh" + docs-build: + needs: conda-python-build + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@python-3.12 + with: + build_type: pull-request + node_type: "gpu-v100-latest-1" + arch: "amd64" + container_image: "rapidsai/ci-conda:latest" + run_script: "ci/build_docs.sh" wheel-build-libcudf: needs: checks secrets: inherit @@ -215,74 +215,74 @@ jobs: with: build_type: pull-request script: "ci/build_wheel_cudf.sh" - # wheel-tests-cudf: - # needs: [wheel-build-cudf, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 - # if: needs.changed-files.outputs.test_python == 'true' - # 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/wheels-build.yaml@python-3.12 - # 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, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 - # if: needs.changed-files.outputs.test_python == 'true' - # 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" - # wheel-build-dask-cudf: - # needs: wheel-build-cudf - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@python-3.12 - # 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, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 - # if: needs.changed-files.outputs.test_python == 'true' - # 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 - # devcontainer: - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@python-3.12 - # with: - # arch: '["amd64"]' - # cuda: '["12.5"]' - # build_command: | - # sccache -z; - # build-all -DBUILD_BENCHMARKS=ON --verbose; - # sccache -s; - # unit-tests-cudf-pandas: - # needs: [wheel-build-cudf, changed-files] - # secrets: inherit - # uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 - # if: needs.changed-files.outputs.test_python == 'true' - # 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 + wheel-tests-cudf: + needs: [wheel-build-cudf, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 + if: needs.changed-files.outputs.test_python == 'true' + 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/wheels-build.yaml@python-3.12 + 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, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 + if: needs.changed-files.outputs.test_python == 'true' + 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" + wheel-build-dask-cudf: + needs: wheel-build-cudf + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@python-3.12 + 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, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 + if: needs.changed-files.outputs.test_python == 'true' + 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 + devcontainer: + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/build-in-devcontainer.yaml@python-3.12 + with: + arch: '["amd64"]' + cuda: '["12.5"]' + build_command: | + sccache -z; + build-all -DBUILD_BENCHMARKS=ON --verbose; + sccache -s; + unit-tests-cudf-pandas: + needs: [wheel-build-cudf, changed-files] + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@python-3.12 + if: needs.changed-files.outputs.test_python == 'true' + 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, changed-files]