Fixed the test
This commit is contained in:
parent
8af3110d4d
commit
a721d001dd
21
.github/workflows/test.yml
vendored
21
.github/workflows/test.yml
vendored
@ -1055,27 +1055,6 @@ jobs:
|
|||||||
exit 1
|
exit 1
|
||||||
shell:
|
shell:
|
||||||
bash
|
bash
|
||||||
- name: Run changed-files with dir_names and dir_names_deleted_files_include_only_deleted_dirs with a single file deleted withing the test directory
|
|
||||||
id: changed-files-dir-names-deleted-files-include-only-deleted-dirs-single-file
|
|
||||||
uses: ./
|
|
||||||
with:
|
|
||||||
base_sha: 920856cf
|
|
||||||
sha: a52f8621
|
|
||||||
fetch_depth: 60000
|
|
||||||
dir_names: true
|
|
||||||
dir_names_deleted_files_include_only_deleted_dirs: true
|
|
||||||
- name: Show output
|
|
||||||
run: |
|
|
||||||
echo '${{ toJSON(steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-single-file.outputs) }}'
|
|
||||||
shell:
|
|
||||||
bash
|
|
||||||
- name: Check deleted_files output
|
|
||||||
if: steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-single-file.outputs.deleted_files != ''
|
|
||||||
run: |
|
|
||||||
echo "Invalid output: Expected '' got (${{ steps.changed-files-dir-names-deleted-files-include-only-deleted-dirs-single-file.outputs.deleted_files }})"
|
|
||||||
exit 1
|
|
||||||
shell:
|
|
||||||
bash
|
|
||||||
- name: Run changed-files with dir_names and dir_names_deleted_files_include_only_deleted_dirs with the test directory deleted
|
- name: Run changed-files with dir_names and dir_names_deleted_files_include_only_deleted_dirs with the test directory deleted
|
||||||
id: changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory
|
id: changed-files-dir-names-deleted-files-include-only-deleted-dirs-directory
|
||||||
uses: ./
|
uses: ./
|
||||||
|
Loading…
x
Reference in New Issue
Block a user