Skip to content

Commit

Permalink
Merge pull request #173 from rapidsai/wheel-test-summary
Browse files Browse the repository at this point in the history
Add test summaries to wheel jobs
  • Loading branch information
bdice authored Feb 7, 2024
2 parents 3875d40 + 9657ee4 commit fe1ef20
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/wheels-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -92,6 +96,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) }}
Expand Down Expand Up @@ -136,6 +141,13 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}

- name: Generate test report
uses: test-summary/action@v2
with:
paths: "${{ env.RAPIDS_TESTS_DIR }}/*.xml"
show: ${{ inputs.test_summary_show }}
if: always()

- name: Upload additional artifacts
if: "!cancelled()"
run: rapids-upload-artifacts-dir cuda${RAPIDS_CUDA_VERSION%%.*}_$(arch)_py${RAPIDS_PY_VERSION//.}

0 comments on commit fe1ef20

Please sign in to comment.