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:
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue