Skip to content

Commit 92af879

Browse files
committed
Add continue-on-error input to wheels-test
This lets users of the `wheels-test` workflow selectively ignore errors for workflows that shouldn't block CI, similar to what's offered by `custom-job`. The default should be backwards compatible: it's not required, and it defaults to `false` (i.e. don't continue on errors). xref rapidsai/cudf#20555
1 parent 5f6d6a6 commit 92af879

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/wheels-test.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,14 @@ on:
8585
When this is non-empty, that secret's value is used in place of the default repo-level token
8686
anywhere that environment variable GH_TOKEN is set. This is especially useful for downloading
8787
artifacts from other private repos, which repo tokens do not have access to.
88+
continue-on-error:
89+
description: |
90+
If false (the default), treat job failures as workflow failures.
91+
If true, job failures do not result in workflow failures (useful for implementing optional CI workflows).
92+
See https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idcontinue-on-error
93+
type: boolean
94+
required: false
95+
default: false
8896

8997
defaults:
9098
run:
@@ -186,6 +194,7 @@ jobs:
186194
fail-fast: false
187195
matrix: ${{ fromJSON(needs.compute-matrix.outputs.MATRIX) }}
188196
runs-on: "linux-${{ matrix.ARCH }}-gpu-${{ matrix.GPU }}-${{ matrix.DRIVER }}-1"
197+
continue-on-error: ${{ inputs.continue-on-error }}
189198
container:
190199
image: "rapidsai/citestwheel:25.12-cuda${{ matrix.CUDA_VER }}-${{ matrix.LINUX_VER }}-py${{ matrix.PY_VER }}"
191200
options: ${{ inputs.container-options }}

0 commit comments

Comments
 (0)