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:
parent
032079bf7f
commit
c7072f0969
1 changed files with 5 additions and 3 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue