From ba50b4d4679fce3212ffc9338a85f32da2ac3453 Mon Sep 17 00:00:00 2001 From: Daniel Noland Date: Fri, 7 Feb 2025 00:11:19 -0700 Subject: [PATCH] Demonstration of CI failure handling Signed-off-by: Daniel Noland --- .github/workflows/dev.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/dev.yml b/.github/workflows/dev.yml index 64e6d6d5..6c9d7c56 100644 --- a/.github/workflows/dev.yml +++ b/.github/workflows/dev.yml @@ -135,6 +135,10 @@ jobs: - id: "musl_dev_test" name: "test musl dev" run: | + # inject a fault into nightly and make sure we still pass + if [ "${{matrix.rust.version}}" = "nightly" ]; then + exit 193; # oh no... something is broken... + fi just debug="${{matrix.debug_just}}" rust=${{matrix.rust.version}} profile=dev target=x86_64-unknown-linux-musl \ cargo test just debug="${{matrix.debug_just}}" rust=${{matrix.rust.version}} profile=dev target=x86_64-unknown-linux-musl \