From 79f75bfe1fca5e7afe5c413890f0f6d97bfbdb84 Mon Sep 17 00:00:00 2001 From: a-masterov <72613290+a-masterov@users.noreply.github.com> Date: Tue, 19 Nov 2024 14:08:45 +0100 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d10acca..0ef521d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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