call prepare/finish directly in main action #27
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: LocalStack Test | |
on: [ push, pull_request ] | |
jobs: | |
localstack-action-test: | |
name: 'Test LocalStack GitHub Action' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Start LocalStack | |
uses: ./ | |
with: | |
image-tag: 'latest' | |
install-awslocal: 'true' | |
configuration: DEBUG=1 | |
use-pro: 'true' | |
env: | |
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }} | |
- name: Run Tests against LocalStack | |
run: | | |
awslocal s3 mb s3://test | |
awslocal s3 ls | |
echo "Test Execution complete!" |