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 42ed0a1
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,22 @@ on:
branches: [ master ]

jobs:
test:
name: Test
test1:
name: Test 1
id: test1
runs-on: ubuntu-latest
steps:
- run: true
test2:
name: Test 2
id: test2
runs-on: ubuntu-latest
steps:
- run: true
fail-check:
name: Fail Check
needs: [ test1, test2 ]
if: failure() && github.event_name == 'push'
runs-on: ubuntu-latest
steos:
- run: echo failure

0 comments on commit 42ed0a1

Please sign in to comment.