Skip to content

Localstack_template #19

Localstack_template

Localstack_template #19

Workflow file for this run

name: "CI - Test Templates"
on:
pull_request:
paths-ignore:
- '*.md'
- LICENSE
- .gitkeep
- .gitignore
jobs:
detect-changes:
runs-on: ubuntu-latest
outputs:
templates: ${{ steps.filter.outputs.changes }}
steps:
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
localstack-dind: ./**/localstack-dind/**
localstack-dood: ./**/localstack-dood/**
smoke-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@v3
- name: Smoke test for '${{ matrix.templates }}'
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
id: smoke_test
uses: ./.github/actions/smoke-test
with:
template: "${{ matrix.templates }}"
scenario-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@v3
- name: Scenario test(s) for '${{ matrix.templates }}'
env:
LOCALSTACK_AUTH_TOKEN: ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
id: scenario_test
uses: ./.github/actions/scenario-test
with:
template: "${{ matrix.templates }}"