Fix template options and improved documentation #27
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@v2 | |
id: filter | |
with: | |
filters: | | |
scicloj: ./**/scicloj/** | |
basecloj: ./**/basecloj/** | |
test: | |
needs: [detect-changes] | |
runs-on: ubuntu-latest | |
continue-on-error: true | |
strategy: | |
matrix: | |
templates: ${{ fromJSON(needs.detect-changes.outputs.templates) }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Smoke test for '${{ matrix.templates }}' | |
id: smoke_test | |
uses: ./.github/actions/smoke-test | |
with: | |
template: "${{ matrix.templates }}" |