From a4b2b85206a18f8aeac071e36a9fa8ed98e5b99a Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Mon, 13 Feb 2023 21:21:43 -0700 Subject: [PATCH] Updated 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 9e252e6d..3abdd244 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -334,6 +334,34 @@ jobs: echo "Expected: (failure) got ${{ steps.changed-files-specific.outcome }}" exit 1 + test-submodules: + name: Test changed-files with submodule + runs-on: ${{ matrix.platform }} + strategy: + fail-fast: false + max-parallel: 4 + matrix: + platform: [ubuntu-latest] + + steps: + - name: Checkout to branch + uses: actions/checkout@v3 + with: + submodules: true + + - name: Run changed-files with submodule + id: changed-files + uses: ./ + with: + base_sha: "85bd869" + sha: "adde7bb" + + - name: Show output + run: | + echo "${{ toJSON(steps.changed-files.outputs) }}" + shell: + bash + test: name: Test changed-files runs-on: ${{ matrix.platform }}