1414 type : string
1515 script :
1616 type : string
17- default : " ci/test_python .sh"
17+ default : " ci/test_conda .sh"
1818 run_codecov :
1919 type : boolean
2020 default : true
5555 steps :
5656 - name : Validate Test Type
5757 run : |
58- if [[ "$BUILD_TYPE" != "pull-request" ]] && [[ "$BUILD_TYPE" != "nightly" ]]; then
59- echo "Invalid build type! Must be 'nightly' or 'pull-request'."
58+ if [[ "$BUILD_TYPE" != "pull-request" ]] && [[ "$BUILD_TYPE" != "nightly" ]] && [[ "$BUILD_TYPE" != "branch" ]] ; then
59+ echo "Invalid build type! Must be one of 'nightly', 'pull-request', or 'branch '."
6060 exit 1
6161 fi
6262 - name : Compute Python Test Matrix
@@ -66,30 +66,42 @@ jobs:
6666
6767 # please keep the matrices sorted in ascending order by the following:
6868 #
69- # [ARCH, PY_VER, CUDA_VER, LINUX_VER, GPU, DRIVER]
69+ # [ARCH, PY_VER, CUDA_VER, LINUX_VER, GPU, DRIVER, DEPENDENCIES ]
7070 #
7171 export MATRICES="
7272 pull-request:
7373 # amd64
74- - { ARCH: 'amd64', PY_VER: '3.9', CUDA_VER: '11.8.0', LINUX_VER: 'rockylinux8', GPU: 'v100', DRIVER: 'earliest' }
75- - { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '12.5.1', LINUX_VER: 'ubuntu22.04', GPU: 'v100', DRIVER: 'latest' }
74+ - { ARCH: 'amd64', PY_VER: '3.9', CUDA_VER: '11.8.0', LINUX_VER: 'rockylinux8', GPU: 'l4', DRIVER: 'earliest', DEPENDENCIES: 'oldest' }
75+ # TODO: Use CUDA 12.8.0 and h100 below.
76+ - { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '12.5.1', LINUX_VER: 'ubuntu24.04', GPU: 'l4', DRIVER: 'latest', DEPENDENCIES: 'latest' }
7677 # arm64
77- - { ARCH: 'arm64', PY_VER: '3.10 ', CUDA_VER: '12.0.1', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest' }
78+ - { ARCH: 'arm64', PY_VER: '3.11 ', CUDA_VER: '12.0.1', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
7879 nightly:
7980 # amd64
80- - { ARCH: 'amd64', PY_VER: '3.9', CUDA_VER: '11.4.3', LINUX_VER: 'rockylinux8', GPU: 'v100', DRIVER: 'earliest' }
81- - { ARCH: 'amd64', PY_VER: '3.9', CUDA_VER: '11.4.3', LINUX_VER: 'ubuntu20.04', GPU: 'v100', DRIVER: 'latest' }
82- - { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu22.04', GPU: 'v100', DRIVER: 'latest' }
83- - { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '12.0.1', LINUX_VER: 'rockylinux8', GPU: 'v100', DRIVER: 'latest' }
84- - { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '12.5.1', LINUX_VER: 'ubuntu22.04', GPU: 'v100', DRIVER: 'latest' }
81+ # TODO: Use CUDA 11.4.3 below.
82+ - { ARCH: 'amd64', PY_VER: '3.9', CUDA_VER: '11.8.0', LINUX_VER: 'rockylinux8', GPU: 'l4', DRIVER: 'earliest', DEPENDENCIES: 'oldest' }
83+ - { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu20.04', GPU: 'l4', DRIVER: 'latest', DEPENDENCIES: 'latest' }
84+ - { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '12.0.1', LINUX_VER: 'rockylinux8', GPU: 'l4', DRIVER: 'latest', DEPENDENCIES: 'latest' }
85+ - { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '12.2.2', LINUX_VER: 'ubuntu22.04', GPU: 'l4', DRIVER: 'latest', DEPENDENCIES: 'latest' }
86+ # TODO: Use CUDA 12.8.0 and h100 below.
87+ - { ARCH: 'amd64', PY_VER: '3.13', CUDA_VER: '12.5.1', LINUX_VER: 'ubuntu24.04', GPU: 'l4', DRIVER: 'latest', DEPENDENCIES: 'latest' }
8588 # arm64
86- - { ARCH: 'arm64', PY_VER: '3.9', CUDA_VER: '11.4.3', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest' }
87- - { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '12.0.1', LINUX_VER: 'ubuntu22.04', GPU: 'a100', DRIVER: 'latest' }
88- - { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu22.04', GPU: 'a100', DRIVER: 'latest' }
89- - { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '12.2.2', LINUX_VER: 'rockylinux8', GPU: 'a100', DRIVER: 'latest' }
89+ # TODO: Use CUDA 11.4.3 below.
90+ - { ARCH: 'arm64', PY_VER: '3.9', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'oldest' }
91+ - { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu22.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
92+ - { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '12.0.1', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
93+ - { ARCH: 'arm64', PY_VER: '3.12', CUDA_VER: '12.2.2', LINUX_VER: 'rockylinux8', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
94+ # TODO: Use CUDA 12.8.0 below.
95+ - { ARCH: 'arm64', PY_VER: '3.13', CUDA_VER: '12.5.1', LINUX_VER: 'ubuntu24.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
9096 "
9197
92- TEST_MATRIX=$(yq -n 'env(MATRICES) | .[strenv(BUILD_TYPE)]')
98+ # Use the nightly matrix for branch tests
99+ MATRIX_TYPE="${BUILD_TYPE}"
100+ if [[ "${MATRIX_TYPE}" == "branch" ]]; then
101+ MATRIX_TYPE="nightly"
102+ fi
103+ export MATRIX_TYPE
104+ TEST_MATRIX=$(yq -n 'env(MATRICES) | .[strenv(MATRIX_TYPE)]')
93105 export TEST_MATRIX
94106
95107 MATRIX="$(
@@ -105,9 +117,10 @@ jobs:
105117 matrix : ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
106118 runs-on : " linux-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
107119 env :
120+ RAPIDS_ARTIFACTS_DIR : ${{ github.workspace }}/artifacts
108121 RAPIDS_COVERAGE_DIR : ${{ github.workspace }}/coverage-results
122+ RAPIDS_DEPENDENCIES : ${{ matrix.DEPENDENCIES }}
109123 RAPIDS_TESTS_DIR : ${{ github.workspace }}/test-results
110- RAPIDS_ARTIFACTS_DIR : ${{ github.workspace }}/artifacts
111124 container :
112125 image : rapidsai/ci-conda:cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}
113126 options : ${{ inputs.container-options }}
@@ -130,13 +143,18 @@ jobs:
130143 echo "RAPIDS_SHA=$(git rev-parse HEAD)" >> "${GITHUB_ENV}"
131144 echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
132145 echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
146+ - name : Setup proxy cache
147+ uses : nv-gha-runners/setup-proxy-cache@main
148+ continue-on-error : true
149+ # Skip the cache on RDS Lab nodes
150+ if : ${{ matrix.GPU != 'v100' }}
133151 - name : Python tests
134152 run : ${{ inputs.script }}
135153 env :
136154 GH_TOKEN : ${{ github.token }}
137155 CUDA_VER : ${{ matrix.CUDA_VER }}
138156 - name : Generate test report
139- uses : test-summary/action@v2.3
157+ uses : test-summary/action@v2.4
140158 with :
141159 paths : " ${{ env.RAPIDS_TESTS_DIR }}/*.xml"
142160 if : always()
0 commit comments