Skip to content

test

test #923

Workflow file for this run

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
permissions: {}
jobs:
test-conda-nightly-env:
secrets: inherit # zizmor: ignore[secrets-inherit]
# We use a build workflow so that we get CPU jobs and high matrix coverage
uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@main
with:
build_type: pull-request
script: "ci/test_conda_nightly_env.sh"
# just using the workflow to get the matrix, this isn't actually building anything we want to upload
upload-artifacts: false
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
stable-install-pip-test-matrix:
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
with:
build_type: nightly
matrix_name: wheels-test
permissions:
contents: read
test-stable-install-pip:
needs: stable-install-pip-test-matrix
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.stable-install-pip-test-matrix.outputs.matrix) }}
with:
build_type: pull-request
arch: "${{matrix.ARCH}}"
node_type: "gpu-${{ matrix.GPU }}-latest-1"
container_image: "rapidsai/citestwheel:26.04-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}-${{ matrix.ARCH }}"
script: |
./ci/stable_install/install_and_test_pip.sh --cuda ${{ matrix.CUDA_VER }} --python ${{ matrix.PY_VER }}
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read
stable-install-conda-test-matrix:
uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main
with:
build_type: nightly
matrix_name: conda-python-tests
permissions:
contents: read
test-stable-install-conda:
needs: stable-install-conda-test-matrix
uses: rapidsai/shared-workflows/.github/workflows/custom-job.yaml@main
strategy:
fail-fast: false
matrix: ${{ fromJSON(needs.stable-install-conda-test-matrix.outputs.matrix) }}
with:
build_type: pull-request
node_type: "gpu-${{ matrix.GPU }}-latest-1"
arch: "${{ matrix.ARCH }}"
container_image: "rapidsai/ci-conda:26.04-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
script: |
./ci/stable_install/install_and_test_conda.sh --cuda ${{ matrix.CUDA_VER }} --python ${{ matrix.PY_VER }}
permissions:
actions: read
contents: read
id-token: write
packages: read
pull-requests: read