summaryrefslogtreecommitdiffstats
path: root/pkg/runner/testdata/matrix-exitcode/push.yml
blob: 0f5d3352535dd6f6c29b34e82e59bc8f1a4a1604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
name: test

on: push

jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        val: ["success", "failure"]
      fail-fast: false
    steps:
      - name: test
        run: |
          echo "Expected job result: ${{ matrix.val }}"
          [[ "${{ matrix.val }}" = "success" ]] || exit 1