Skip to content

Commit

Permalink
chore: update test (#539)
Browse files Browse the repository at this point in the history
* chore: update test

* Update test.yml

* Update test.yml
  • Loading branch information
jackton1 committed Jun 30, 2022
1 parent 665f0cd commit e2e05ab
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -141,6 +141,12 @@ jobs:
echo "${{ toJSON(steps.changed-files.outputs) }}"
shell:
bash

- name: Exit with 1 if no error is raised
if: steps.changed-files.outcome != 'failure'
run: |
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
exit 1
- name: Run changed-files-specific with non existent base sha
id: changed-files-specific
Expand All @@ -155,6 +161,12 @@ jobs:
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"
shell:
bash

- name: Exit with 1 if no error is raised
if: steps.changed-files-specific.outcome != 'failure'
run: |
echo "Expected: (failure) got ${{ steps.changed-files-specific.outcome }}"
exit 1
test-non-existent-sha:
name: Test changed-files non existent sha
Expand All @@ -181,6 +193,12 @@ jobs:
echo "${{ toJSON(steps.changed-files.outputs) }}"
shell:
bash

- name: Exit with 1 if no error is raised
if: steps.changed-files.outcome != 'failure'
run: |
echo "Expected: (failure) got ${{ steps.changed-files.outcome }}"
exit 1
- name: Run changed-files-specific with non existent sha
id: changed-files-specific
Expand All @@ -195,6 +213,12 @@ jobs:
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"
shell:
bash

- name: Exit with 1 if no error is raised
if: steps.changed-files-specific.outcome != 'failure'
run: |
echo "Expected: (failure) got ${{ steps.changed-files-specific.outcome }}"
exit 1
test:
name: Test changed-files
Expand Down

0 comments on commit e2e05ab

Please sign in to comment.