Skip to content

Commit

Permalink
chore: improve test coverage (#1369)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 authored Jul 12, 2023
1 parent 032079b commit c7072f0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c7072f0

Please sign in to comment.