Skip to content

fix: always wait for creation #55

fix: always wait for creation

fix: always wait for creation #55

Workflow file for this run

name: 'Test'
on:
pull_request:
push:
branches:
- main
- next
- alpha
workflow_dispatch:
jobs:
test:
services:
localstack:
image: localstack/localstack
ports:
- 4566:4566
- 4571:4571
env:
LOCALSTACK_URL: http://localhost:4566
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_ENDPOINT_URL: http://localhost:4566
AWS_DEFAULT_REGION: us-east-1
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: npm
- name: Test Action
id: test_action
env:
LOCALSTACK_URL: http://localhost:4566
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
AWS_ENDPOINT_URL: http://localhost:4566
AWS_DEFAULT_REGION: us-east-1
uses: ./
with:
stackName: 'test-stack'
templateFile: 'test/test-template.json'
capabilities: 'CAPABILITY_IAM'
timeout: 60
wait: true
executeChangeSet: true
enableRollback: false
terminationProtection: false
parameterOverridesFilePath: 'test/parameters.json'
- name: Integration tests
timeout-minutes: 5
run: |
npm install --immutable
npm run test --runInBand --detectOpenHandles --forceExit