From 8a2f94cf80defb37ad49cd72cb7f66462d0f202b Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Tue, 23 Jan 2024 15:13:12 -0600 Subject: [PATCH 1/3] Add test summary to wheels. --- .github/workflows/wheels-test.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/wheels-test.yaml b/.github/workflows/wheels-test.yaml index 8a2ce0bf..d426b3b4 100644 --- a/.github/workflows/wheels-test.yaml +++ b/.github/workflows/wheels-test.yaml @@ -136,6 +136,12 @@ jobs: env: GH_TOKEN: ${{ github.token }} + - name: Generate test report + uses: test-summary/action@v2 + with: + paths: "${{ env.RAPIDS_TESTS_DIR }}/*.xml" + if: always() + - name: Upload additional artifacts if: "!cancelled()" run: rapids-upload-artifacts-dir cuda${RAPIDS_CUDA_VERSION%%.*}_$(arch)_py${RAPIDS_PY_VERSION//.} From 29ed2e6fa8f0145ee483f61cf173681dfe31c961 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 24 Jan 2024 14:40:20 -0600 Subject: [PATCH 2/3] Add RAPIDS_TESTS_DIR. --- .github/workflows/wheels-test.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/wheels-test.yaml b/.github/workflows/wheels-test.yaml index d426b3b4..bcdf6eac 100644 --- a/.github/workflows/wheels-test.yaml +++ b/.github/workflows/wheels-test.yaml @@ -92,6 +92,7 @@ jobs: name: ${{ matrix.CUDA_VER }}, ${{ matrix.PY_VER }}, ${{ matrix.ARCH }}, ${{ matrix.LINUX_VER }}, ${{ matrix.gpu }} needs: compute-matrix env: + RAPIDS_TESTS_DIR: ${{ github.workspace }}/test-results RAPIDS_ARTIFACTS_DIR: ${{ github.workspace }}/artifacts strategy: matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }} From 9657ee4595e6d6eb1aa3a317f64863bbae6fc113 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Thu, 1 Feb 2024 14:20:23 -0600 Subject: [PATCH 3/3] Make test-summary show configurable. --- .github/workflows/wheels-test.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wheels-test.yaml b/.github/workflows/wheels-test.yaml index bcdf6eac..76b3964f 100644 --- a/.github/workflows/wheels-test.yaml +++ b/.github/workflows/wheels-test.yaml @@ -24,7 +24,11 @@ on: container-options: required: false type: string - default: '-e _NOOP' + default: "-e _NOOP" + test_summary_show: + required: false + type: string + default: "fail" defaults: run: @@ -141,6 +145,7 @@ jobs: uses: test-summary/action@v2 with: paths: "${{ env.RAPIDS_TESTS_DIR }}/*.xml" + show: ${{ inputs.test_summary_show }} if: always() - name: Upload additional artifacts