Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov authored Nov 19, 2024
1 parent 0eacde5 commit 79f75bf
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ defaults:
run:
shell: bash -euxo pipefail {0}
jobs:
test-fail:
runs-on: ubuntu-latest
build:
strategy:
matrix:
state: [lfc, nolfc]
steps:
- name: Failure
run: ${state} == "lfc" && exit 1 || exit 0
uses: ./.github/workflow/build.yml
with:
state: ${{ matrix.state }}
conclusion:
if: always()
needs: test-fail
needs: build
runs-on: ubuntu-latest
steps:
- name: OK
Expand Down

0 comments on commit 79f75bf

Please sign in to comment.