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