3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2024-12-17 03:47:20 +00:00

chore: improve test coverage (#1369)

This commit is contained in:
Tonye Jack 2023-07-12 07:09:45 -06:00 committed by GitHub
parent 032079bf7f
commit c7072f0969
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -321,8 +321,8 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
fetch-depth: [1, 2]
input-fetch_depth: [1, 50]
fetch-depth: [1, 2, 50]
input-fetch_depth: [1, 2, 50]
steps:
- name: Checkout branch
@ -339,8 +339,10 @@ jobs:
- name: Run changed-files
id: changed-files
uses: ./
continue-on-error: ${{ matrix.input-skip_initial_fetch == true && matrix.fetch-depth < 10 }}
with:
fetch_depth: ${{ matrix.input-fetch_depth }}
skip_initial_fetch: ${{ github.event_name == 'push' }}
- name: Show output
run: |
@ -640,7 +642,7 @@ jobs:
shell:
bash
test_recover_deleted_file:
test-recover-deleted-file:
name: Test changed-files recover deleted file
runs-on: ubuntu-latest
needs: build