From a03b0e06d83273d72ee92100d802ca42e1c58a6a Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sun, 1 Dec 2024 00:25:29 +0100 Subject: [PATCH] TEMP/TESTING - check conditions --- .github/workflows/test-requirements-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-requirements-check.yml b/.github/workflows/test-requirements-check.yml index 9fd58d9647..c0e6c0b3ff 100644 --- a/.github/workflows/test-requirements-check.yml +++ b/.github/workflows/test-requirements-check.yml @@ -197,9 +197,9 @@ jobs: run: php ${{ matrix.cmd }}.phar --version - name: Check the result of a successful test against expectation - if: ${{ steps.check.outcome == 'success' && matrix.expect == 'fail' }} + if: ${{ steps.check.outcome == 'success' && matrix.expect != 'fail' }} run: exit 1 - name: Check the result of a failed test against expectation - if: ${{ steps.check.outcome != 'success' && matrix.expect == 'success' }} + if: ${{ steps.check.outcome != 'success' && matrix.expect != 'success' }} run: exit 1