ci: ensure run tests fails if eitehr tests outcome not success'
This commit is contained in:
parent
42cd01efd7
commit
776b02aafc
1 changed files with 2 additions and 2 deletions
4
.github/actions/run-tests/action.yml
vendored
4
.github/actions/run-tests/action.yml
vendored
|
|
@ -77,8 +77,8 @@ runs:
|
|||
path: ${{ steps.row.outputs.file }}
|
||||
|
||||
- name: Check test outcome
|
||||
if: steps.unittests.outcome == 'failure'
|
||||
if: (steps.unittests.outcome != 'success' || steps.legacytests.outcome != 'success')
|
||||
run: |
|
||||
echo "Unit tests failed"
|
||||
echo "Tests failed"
|
||||
exit 1
|
||||
shell: bash
|
||||
|
|
|
|||
Loading…
Reference in a new issue