diff options
Diffstat (limited to 'pkg/runner/testdata/matrix-exitcode/push.yml')
-rw-r--r-- | pkg/runner/testdata/matrix-exitcode/push.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pkg/runner/testdata/matrix-exitcode/push.yml b/pkg/runner/testdata/matrix-exitcode/push.yml new file mode 100644 index 0000000..0f5d335 --- /dev/null +++ b/pkg/runner/testdata/matrix-exitcode/push.yml @@ -0,0 +1,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 |