Skip to content

Commit

Permalink
ci: continue-on-error test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mogyuchi committed Jun 20, 2024
1 parent 1b63eab commit 1a53401
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: test
on:
push:
branches: ["**"]
pull_request:
workflow_dispatch:
inputs: # null for another event
skip:
Expand All @@ -11,14 +12,30 @@ permissions: {}

jobs:
test1:
if: >
true
runs-on: ubuntu-latest
steps:
- run: |
- run: exit 1
continue-on-error: true
- run: exit 1
continue-on-error: true
- run: exit 1
continue-on-error: true
test2:
if: >-
true
runs-on: ubuntu-latest
steps:
- run: ''
- run: exit 1
continue-on-error: true
- run: exit 1
continue-on-error: true
- run: exit 0
test3:
runs-on: ubuntu-latest
steps:
- id: step1
run: exit 1
continue-on-error: true
- id: step2
run: exit 0
continue-on-error: true
- if: contains(steps.*.outcome, 'failure')
run: exit 1

0 comments on commit 1a53401

Please sign in to comment.