From 3a8cb1858935dc46a29769060d78b7357dbf9ed5 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Fri, 2 Sep 2022 18:32:08 -0600 Subject: [PATCH] update the test. --- .github/workflows/test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7b83170f..d0d1eff0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -128,6 +128,34 @@ jobs: 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 with a single commit history + id: changed-files + uses: ./ + with: + base_sha: d1c0ee4 + sha: d1c0ee4 + + - name: Show output + run: | + echo '${{ toJSON(steps.changed-files.outputs) }}' + shell: + bash + + test-single-commit-history: + name: Test changed-files single commit history + 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