Skip to content

Commit

Permalink
test: add integration test for if-expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
KnisterPeter authored and github-actions committed Nov 23, 2021
1 parent fbaea6a commit 528445b
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pkg/runner/testdata/if-expressions/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on: push
jobs:
mytest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
# - run: exit 1
- uses: ./
if: failure()
- run: echo Success
shell: bash
- run: echo Success
if: success()
shell: bash
- run: exit 1
shell: bash
- run: echo "Shouldn't run"
if: success()
shell: bash
- run: echo "Shouldn't run2"
shell: bash
- run: echo expected to run
if: failure()
shell: bash
next:
needs: mytest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

0 comments on commit 528445b

Please sign in to comment.