Skip to content

Commit

Permalink
Test out failure checking job
Browse files Browse the repository at this point in the history
  • Loading branch information
camh- committed Aug 2, 2024
1 parent a3b446d commit 5d9a0e9
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5d9a0e9

Please sign in to comment.