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,34 @@ 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.10 ', CUDA_VER: '11.8.0', LINUX_VER: 'rockylinux8', GPU: 'l4 ', DRIVER: 'earliest', DEPENDENCIES: 'oldest ' }
75+ - { ARCH: 'amd64', PY_VER: '3.12 ', CUDA_VER: '12.8.0 ', LINUX_VER: 'ubuntu24 .04', GPU: 'h100 ', DRIVER: 'latest', DEPENDENCIES: 'latest' }
7676 # arm64
77- - { ARCH: 'arm64', PY_VER: '3.10 ', CUDA_VER: '12.0.1', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest' }
77+ - { ARCH: 'arm64', PY_VER: '3.11 ', CUDA_VER: '12.0.1', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
7878 nightly:
7979 # 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' }
80+ - { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '11.4.3', LINUX_VER: 'rockylinux8', GPU: 'l4', DRIVER: 'earliest', DEPENDENCIES: 'oldest' }
81+ - { ARCH: 'amd64', PY_VER: '3.10', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu20.04', GPU: 'h100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
82+ - { ARCH: 'amd64', PY_VER: '3.11', CUDA_VER: '12.0.1', LINUX_VER: 'rockylinux8', GPU: 'l4', DRIVER: 'latest', DEPENDENCIES: 'latest' }
83+ - { ARCH: 'amd64', PY_VER: '3.12', CUDA_VER: '12.8.0', LINUX_VER: 'ubuntu24.04', GPU: 'h100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
8584 # 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' }
85+ - { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '12.2.2', LINUX_VER: 'ubuntu22.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'oldest' }
86+ - { ARCH: 'arm64', PY_VER: '3.11', CUDA_VER: '11.8.0', LINUX_VER: 'ubuntu20.04', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
87+ - { ARCH: 'arm64', PY_VER: '3.12', CUDA_VER: '12.8.0', LINUX_VER: 'rockylinux8', GPU: 'a100', DRIVER: 'latest', DEPENDENCIES: 'latest' }
9088 "
9189
92- TEST_MATRIX=$(yq -n 'env(MATRICES) | .[strenv(BUILD_TYPE)]')
90+ # Use the nightly matrix for branch tests
91+ MATRIX_TYPE="${BUILD_TYPE}"
92+ if [[ "${MATRIX_TYPE}" == "branch" ]]; then
93+ MATRIX_TYPE="nightly"
94+ fi
95+ export MATRIX_TYPE
96+ TEST_MATRIX=$(yq -n 'env(MATRICES) | .[strenv(MATRIX_TYPE)]')
9397 export TEST_MATRIX
9498
9599 MATRIX="$(
@@ -105,9 +109,10 @@ jobs:
105109 matrix : ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
106110 runs-on : " linux-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
107111 env :
112+ RAPIDS_ARTIFACTS_DIR : ${{ github.workspace }}/artifacts
108113 RAPIDS_COVERAGE_DIR : ${{ github.workspace }}/coverage-results
114+ RAPIDS_DEPENDENCIES : ${{ matrix.DEPENDENCIES }}
109115 RAPIDS_TESTS_DIR : ${{ github.workspace }}/test-results
110- RAPIDS_ARTIFACTS_DIR : ${{ github.workspace }}/artifacts
111116 container :
112117 image : rapidsai/ci-conda:cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}
113118 options : ${{ inputs.container-options }}
@@ -130,13 +135,18 @@ jobs:
130135 echo "RAPIDS_SHA=$(git rev-parse HEAD)" >> "${GITHUB_ENV}"
131136 echo "RAPIDS_REF_NAME=${{ inputs.branch || github.ref_name }}" >> "${GITHUB_ENV}"
132137 echo "RAPIDS_NIGHTLY_DATE=${{ inputs.date }}" >> "${GITHUB_ENV}"
138+ - name : Setup proxy cache
139+ uses : nv-gha-runners/setup-proxy-cache@main
140+ continue-on-error : true
141+ # Skip the cache on RDS Lab nodes
142+ if : ${{ matrix.GPU != 'v100' }}
133143 - name : Python tests
134144 run : ${{ inputs.script }}
135145 env :
136146 GH_TOKEN : ${{ github.token }}
137147 CUDA_VER : ${{ matrix.CUDA_VER }}
138148 - name : Generate test report
139- uses : test-summary/action@v2.3
149+ uses : test-summary/action@v2.4
140150 with :
141151 paths : " ${{ env.RAPIDS_TESTS_DIR }}/*.xml"
142152 if : always()
0 commit comments