From 5d9a0e96944301e8ec22a6537e479bb08f73f736 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 | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 9f5d92d..5042f8a 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 + test2: + name: Test 2 + runs-on: ubuntu-latest + steps: + - run: true + fail-check: + name: Fail Check + needs: [ test1, test2 ] + if: failure() && github.event_name == 'pull_request' + runs-on: ubuntu-latest + steps: + - run: echo failure