Skip to content

Commit

Permalink
Add test for root/filter with custom source
Browse files Browse the repository at this point in the history
  • Loading branch information
nafarlee committed Dec 6, 2023
1 parent 9b63ed7 commit d5ff52c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ./
Expand Down

0 comments on commit d5ff52c

Please sign in to comment.