Skip to content

Commit

Permalink
TEMP/TESTING - check conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfnl committed Nov 30, 2024
1 parent 38069b3 commit a03b0e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-requirements-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a03b0e0

Please sign in to comment.