updated workflow/test-pr.yaml #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI - Test Templates" | ||
on: | ||
pull_request: | ||
jobs: | ||
detect-changes: | ||
runs-on: ubuntu-latest | ||
outputs: | ||
templates: ${{ steps.filter.outputs.changes }} | ||
steps: | ||
- uses: dorny/paths-filter@v3 | ||
id: filter | ||
with: | ||
filters: | | ||
color: ./**/color/** | ||
hello: ./**/hello/** | ||
test: | ||
needs: [detect-changes] | ||
runs-on: ubuntu-latest | ||
continue-on-error: true | ||
if: ${{ needs.detect-changes.outputs.templates != '[]' && needs.detect-changes.outputs.templates != ''} | ||
Check failure on line 22 in .github/workflows/test-pr.yaml GitHub Actions / CI - Test TemplatesInvalid workflow file
|
||
strategy: | ||
matrix: | ||
templates: ${{ fromJSON(needs.detect-changes.outputs.templates) }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Smoke test for '${{ matrix.templates }}' | ||
id: smoke_test | ||
uses: ./.github/actions/smoke-test | ||
with: | ||
template: "${{ matrix.templates }}" |