3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-01-18 13:57:39 +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 fail-fast: false
max-parallel: 4 max-parallel: 4
matrix: matrix:
fetch-depth: [1, 2] fetch-depth: [1, 2, 50]
input-fetch_depth: [1, 50] input-fetch_depth: [1, 2, 50]
steps: steps:
- name: Checkout branch - name: Checkout branch
@ -339,8 +339,10 @@ jobs:
- name: Run changed-files - name: Run changed-files
id: changed-files id: changed-files
uses: ./ uses: ./
continue-on-error: ${{ matrix.input-skip_initial_fetch == true && matrix.fetch-depth < 10 }}
with: with:
fetch_depth: ${{ matrix.input-fetch_depth }} fetch_depth: ${{ matrix.input-fetch_depth }}
skip_initial_fetch: ${{ github.event_name == 'push' }}
- name: Show output - name: Show output
run: | run: |
@ -640,7 +642,7 @@ jobs:
shell: shell:
bash bash
test_recover_deleted_file: test-recover-deleted-file:
name: Test changed-files recover deleted file name: Test changed-files recover deleted file
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build