From cb5ba9a3ff44083def660804e85c9cd9e2747f1c Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 21 Jul 2026 12:16:55 -0500 Subject: [PATCH 1/3] java: get nightly test matrix from shared-workflows --- .github/workflows/test.yaml | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 64202b5242..042bff08d2 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -70,7 +70,16 @@ jobs: date: ${{ inputs.date }} script: ci/test_python.sh sha: ${{ inputs.sha }} - conda-java-tests: + conda-java-build-and-tests-matrix: + permissions: + contents: read + uses: rapidsai/shared-workflows/.github/workflows/compute-matrix.yaml@main + with: + build_type: ${{ inputs.build_type }} + matrix_name: conda-cpp-build + matrix_filter: map(select(.ARCH == "amd64")) + conda-java-build-and-tests: + needs: conda-java-build-and-tests-matrix permissions: actions: read contents: read @@ -83,19 +92,15 @@ jobs: # If these jobs start producing artifacts, the names will have to differentiate between CUDA versions. strategy: fail-fast: false - matrix: - cuda_version: - - '12.9.1' - - '13.3.0' + matrix: ${{ fromJSON(needs.conda-java-build-and-tests-matrix.outputs.matrix) }} with: - build_type: ${{ inputs.build_type }} - branch: ${{ inputs.branch }} - date: ${{ inputs.date }} - sha: ${{ inputs.sha }} + build_type: pull-request node_type: "gpu-l4-latest-1" arch: "amd64" - container_image: "rapidsai/ci-conda:26.10-cuda${{ matrix.cuda_version }}-ubuntu24.04-py3.13" + container_image: "rapidsai/ci-conda:26.10-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}" script: "ci/test_java.sh" + artifact-name: "cuvs-java-cuda${{ matrix.CUDA_VER }}" + file_to_upload: "java/cuvs-java/target/" wheel-tests-cuvs: permissions: actions: read From 48efd006d671b720d6ccd2ffcc0814e73ec0525b Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 21 Jul 2026 12:27:59 -0500 Subject: [PATCH 2/3] fix build type --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 042bff08d2..0b08c75c40 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -94,7 +94,7 @@ jobs: fail-fast: false matrix: ${{ fromJSON(needs.conda-java-build-and-tests-matrix.outputs.matrix) }} with: - build_type: pull-request + build_type: ${{ inputs.build_type }} node_type: "gpu-l4-latest-1" arch: "amd64" container_image: "rapidsai/ci-conda:26.10-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}" From a1915060b93c6ee260c5f21a9b8efefbcfca2600 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 21 Jul 2026 12:36:06 -0500 Subject: [PATCH 3/3] thread through more inputs --- .github/workflows/test.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 0b08c75c40..26739e2deb 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -95,6 +95,9 @@ jobs: matrix: ${{ fromJSON(needs.conda-java-build-and-tests-matrix.outputs.matrix) }} with: build_type: ${{ inputs.build_type }} + branch: ${{ inputs.branch }} + date: ${{ inputs.date }} + sha: ${{ inputs.sha }} node_type: "gpu-l4-latest-1" arch: "amd64" container_image: "rapidsai/ci-conda:26.10-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"