From c7072f096921517be8c12059fdcdfaa3c27f8ee3 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Wed, 12 Jul 2023 07:09:45 -0600 Subject: [PATCH] chore: improve test coverage (#1369) --- .github/workflows/test.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 37e3772b..bf553042 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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