Skip to content

Commit

Permalink
Initial s3 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmturner committed Oct 9, 2024
1 parent 797c41d commit c511767
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/s3.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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: LocalStack/[email protected]
with:
image-tag: 'latest'
install-awslocal: 'true'
configuration: DEBUG=1
use-pro: 'true'
state-backend: cloud-pods
state-action: load
state-name: my-cloud-pod

- name: Run Tests against LocalStack
run: |
awslocal s3 mb s3://test
awslocal s3 ls
echo "Test Execution complete!"
- name: Save LocalStack State
uses: LocalStack/[email protected]
with:
state-backend: local
state-action: save
state-name: my-ls-state-artifact
env:
WORKFLOW_ID: ${{ env.MY_GOLDEN_LS_STATE }}

0 comments on commit c511767

Please sign in to comment.