From fd6cd65962ef4227ea9ac430fd0017928d591d83 Mon Sep 17 00:00:00 2001 From: Allison Piper Date: Tue, 14 Jan 2025 12:23:23 -0500 Subject: [PATCH] Exit with error when RAPIDS CI fails. [skip-matrix][skip-docs][skip-vdc] --- .github/workflows/build-rapids.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build-rapids.yml b/.github/workflows/build-rapids.yml index aaee38b05e7..4ee586d0121 100644 --- a/.github/workflows/build-rapids.yml +++ b/.github/workflows/build-rapids.yml @@ -134,6 +134,12 @@ jobs: sccache --show-adv-stats done done + + # Exit with error if any failures occurred + if test ${#failures[@]} -ne 0; then + exit 1 + fi + EOF chmod +x "$RUNNER_TEMP"/ci{,-entrypoint}.sh