test #941
This file contains hidden or 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: test | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: | | |
| branch: git branch the workflow run targets. | |
| Required even when 'sha' is provided because it is also used for organizing artifacts. | |
| required: true | |
| type: string | |
| date: | |
| description: "date: Date (YYYY-MM-DD) this run is for. Used to organize artifacts produced by nightly builds" | |
| required: true | |
| type: string | |
| sha: | |
| description: "sha: full git commit SHA to check out" | |
| required: true | |
| type: string | |
| build_type: | |
| description: "build_type: one of [branch, nightly, pull-request]" | |
| type: string | |
| default: nightly | |
| jobs: | |
| conda-cpp-checks: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-post-build-checks.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| symbol_exclusions: raft_cutlass | |
| conda-cpp-tests: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/conda-cpp-tests.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| script: ci/test_cpp.sh | |
| sha: ${{ inputs.sha }} | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| conda-python-tests-singlegpu: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: "ci/test_python_singlegpu.sh" | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| conda-python-tests-dask: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: "ci/test_python_dask.sh" | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| conda-python-scikit-learn-accel-tests: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: "ci/test_python_scikit_learn_tests.sh" | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| # Select amd64 and one job per major CUDA version with the latest CUDA and Python versions | |
| # Add an "intermediate" entry based on the "oldest" entry | |
| matrix_filter: '( | |
| map(select(.ARCH == "amd64")) | |
| | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | |
| | map(max_by([.CUDA_VER,.PY_VER]|map(split(".")|map(tonumber)))) | |
| ) | |
| + | |
| ( | |
| map(select(.ARCH == "amd64")) | |
| | map(select(.DEPENDENCIES == "oldest")) | |
| | sort_by(.PY_VER) | |
| | map(.DEPENDENCIES = "intermediate") | |
| )' | |
| conda-python-cuml-accel-upstream-tests: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/conda-python-tests.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: "ci/test_python_cuml_accel_upstream.sh" | |
| # Select amd64 and one job per major CUDA version with the latest CUDA and Python versions | |
| matrix_filter: map(select(.ARCH == "amd64")) | group_by(.CUDA_VER|split(".")|map(tonumber)|.[0]) | map(max_by([.CUDA_VER,.PY_VER]|map(split(".")|map(tonumber)))) | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| wheel-tests-cuml: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: ci/test_wheel.sh | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| wheel-tests-cuml-dask: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: ci/test_wheel_dask.sh | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN | |
| wheel-tests-integrations: | |
| secrets: inherit | |
| uses: rapidsai/shared-workflows/.github/workflows/wheels-test.yaml@release/25.12 | |
| with: | |
| build_type: ${{ inputs.build_type }} | |
| branch: ${{ inputs.branch }} | |
| date: ${{ inputs.date }} | |
| sha: ${{ inputs.sha }} | |
| script: ci/test_wheel_integrations.sh | |
| # Test all CUDA major versions with latest dependencies and respective latest Python version | |
| matrix_filter: map(select(.DEPENDENCIES == "latest")) | group_by(.CUDA_VER|split(".")|.[0]) | map(max_by(.PY_VER|split(".")|map(tonumber))) | |
| sccache-dist-token-secret-name: GIST_REPO_READ_ORG_GITHUB_TOKEN |