Update test.yml
This commit is contained in:
parent
9fdf62af89
commit
8e99cd3206
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -180,7 +180,7 @@ jobs:
|
|||||||
uses: ./
|
uses: ./
|
||||||
|
|
||||||
- name: Exit with 1 if no error is raised
|
- name: Exit with 1 if no error is raised
|
||||||
if: steps.changed-files.outcome != 'failure'
|
if: github.event_name == 'pull_request' && steps.changed-files.outcome != 'failure'
|
||||||
run: |
|
run: |
|
||||||
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
|
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user