From 307e695c51672ad76cb0c0faa90ce6ea21f83c97 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 15 Oct 2022 12:34:47 -0600 Subject: [PATCH] chore: clean up test --- .github/workflows/test.yml | 65 ++++++++++++++++++++++++-------------- 1 file changed, 41 insertions(+), 24 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index eaac4a7d..b8321807 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -84,6 +84,47 @@ jobs: shell: bash + test-using-since-and-until: + name: Test changed-files using since and until + runs-on: ${{ matrix.platform }} + strategy: + fail-fast: false + max-parallel: 4 + matrix: + platform: [ubuntu-latest, ubuntu-22.04, windows-latest, macos-latest, macos-11, ubuntu-18.04, windows-2022] + + steps: + - name: Checkout to branch + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Run changed-files since 2022-08-19 + id: changed-files-since + uses: ./ + continue-on-error: true + with: + since: "2022-08-19" + + - name: Show output + run: | + echo '${{ toJSON(steps.changed-files-since.outputs) }}' + shell: + bash + + - name: Run changed-files until 2022-08-20 + id: changed-files-until + uses: ./ + continue-on-error: true + with: + until: "2022-08-20" + + - name: Show output + run: | + echo '${{ toJSON(steps.changed-files-until.outputs) }}' + shell: + bash + test-similar-base-and-commit-sha: name: Test changed-files similar base and commit sha runs-on: ${{ matrix.platform }} @@ -357,30 +398,6 @@ jobs: exit 1 shell: bash - - name: Run changed-files since 2022-08-19 - id: changed-files-since - uses: ./ - continue-on-error: true - with: - since: "2022-08-19" - target_branch_fetch_depth: "20000" - - name: Show output - run: | - echo '${{ toJSON(steps.changed-files-since.outputs) }}' - shell: - bash - - name: Run changed-files until 2022-08-20 - id: changed-files-until - uses: ./ - continue-on-error: true - with: - until: "2022-08-20" - target_branch_fetch_depth: "20000" - - name: Show output - run: | - echo '${{ toJSON(steps.changed-files-until.outputs) }}' - shell: - bash - name: Run changed-files with forward slash separator id: changed-files-forward-slash uses: ./