Skip to content

Commit

Permalink
feat: ✨ add localstack test github action
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhoheiser committed Nov 21, 2023
1 parent 0428377 commit 40c7923
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test-integration-localstack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: test-integration-localstack

on:
pull_request:
branches: [master, feature]

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Start LocalStack
run: |
pip install localstack awscli-local[ver1]
docker pull localstack/localstack
localstack start -d
echo "Waiting for LocalStack startup..."
localstack wait -t 30
echo "Startup complete"
- name: Deploy infrastructure
run: |
bin/deploy.sh
- name: Run integration tests against LocalStack
run: |
python -m pytest tests/integration
- name: Show localstack logs
if: always()
run: |
localstack logs

0 comments on commit 40c7923

Please sign in to comment.