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