Skip to content

tests: basic deployment test #6

tests: basic deployment test

tests: basic deployment test #6

Workflow file for this run

name: Tests
on:
push:
branches:
- 'master'
env:
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
jobs:
test:
if: github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- run: |
pip install aws-sam-cli
pip install localstack
docker pull localstack/localstack-pro
localstack start -d
localstack wait -t 30
composer install
./vendor/bin/phpunit --testdox