From d5ff52c717aa8ce5757358630dea25edeb17bba3 Mon Sep 17 00:00:00 2001 From: Nicholas Farley Date: Wed, 6 Dec 2023 16:49:44 -0500 Subject: [PATCH] Add test for root/filter with custom source --- .github/workflows/test.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bca8983..b538fc3 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -102,6 +102,19 @@ jobs: - if: steps.for-each-9.outputs.matches != '["banana/a.txt","apple/a.txt"]' run: exit 1 + - name: Run colpal/actions-for-each + id: for-each-10 + uses: ./ + with: + root-patterns: | + banana + apple + filter-patterns: | + **/b.txt + source: '["banana/a.txt","banana/b.txt","apple/a.txt"]' + - if: steps.for-each-10.outputs.matches != '["banana/"]' + run: exit 1 + - name: Run colpal/actions-for-each id: for-each uses: ./