Improve test coverage (#71)
This commit is contained in:
parent
550d248e17
commit
060d09a82f
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -47,6 +47,13 @@ jobs:
|
|||||||
files: |
|
files: |
|
||||||
.github/workflows/test.yml
|
.github/workflows/test.yml
|
||||||
action.yml
|
action.yml
|
||||||
|
- name: Verify any_changed files
|
||||||
|
if: contains(steps.changed-files-specific.outputs.all_modified_files, 'action.yml') || contains(steps.changed-files-specific.outputs.all_modified_files, '.github/workflows/test.yml')
|
||||||
|
run: |
|
||||||
|
if [[ "${{ steps.changed-files-specific.outputs.any_changed }}" != 'true' ]]; then
|
||||||
|
echo "Invalid output: Expected (true) got (${{ steps.changed-files-specific.outputs.any_changed }})"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
- name: Show output
|
- name: Show output
|
||||||
run: |
|
run: |
|
||||||
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"
|
echo "${{ toJSON(steps.changed-files-specific.outputs) }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user