From 844261435c43689d7fe9e55a4c2f2fcec90564d1 Mon Sep 17 00:00:00 2001 From: Cam Hutchison Date: Fri, 2 Aug 2024 13:37:20 +1000 Subject: [PATCH] Test out failure checking job --- .github/workflows/ci.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9f5d92d..aff17fc 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,8 +7,20 @@ on: branches: [ master ] jobs: - test: - name: Test + test1: + name: Test 1 runs-on: ubuntu-latest steps: - - run: true + - run: false + test2: + name: Test 2 + runs-on: ubuntu-latest + steps: + - run: false + fail-check: + name: Fail Check + needs: [ test1, test2 ] + if: failure() && github.event_name == 'pull_request' + runs-on: ubuntu-latest + steps: + - run: echo failure