Skip to content

Cloudformation stacks End to End tests - test suite structure #7

Cloudformation stacks End to End tests - test suite structure

Cloudformation stacks End to End tests - test suite structure #7

name: Release Workflow
on:
pull_request:
branches:
- main
jobs:
run-e2e-tests:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.22'
- name: Install AWS SAM CLI
run: |
pip install aws-sam-cli
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v3
with:
role-to-assume: ${{ secrets.AWS_E2E_ROLE }}
aws-region: us-east-1
- name: Run e2e tests
env:
NEW_RELIC_USER_KEY: ${{ secrets.NEW_RELIC_USER_KEY }}
NEW_RELIC_LICENSE_KEY: ${{ secrets.NEW_RELIC_LICENSE_KEY }}
run: |
cd e2e-tests/
./build-templates.sh
./lambda-cloudwatch-trigger.sh
./lambda-s3-trigger.sh