Skip to content

Commit

Permalink
feat: run integration tests on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
maxday committed Aug 12, 2024
1 parent 32a708f commit 92846c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions lambda-integration-tests/samconfig.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ lint = true
[default.deploy.parameters]
capabilities = "CAPABILITY_IAM"
confirm_changeset = true
resolve_s3 = true
s3_prefix = "aws-lambda-rust-integration-test"

[default.package.parameters]
resolve_s3 = true
s3_bucket = "aws-lambda-rust-runtime-integration-testing"

[default.sync.parameters]
watch = true
Expand Down
4 changes: 4 additions & 0 deletions lambda-integration-tests/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Transform: AWS::Serverless-2016-10-31
Description: maxday-test

Parameters:
LambdaRole:
Type: String
SecretToken:
Type: String

Expand Down Expand Up @@ -30,6 +32,7 @@ Resources:
CodeUri: ./
Handler: bootstrap
Runtime: provided.al2023
Role: !Ref LambdaRole
Events:
HelloWorld:
Type: Api
Expand All @@ -48,6 +51,7 @@ Resources:
CodeUri: ./
Handler: bootstrap
Runtime: provided.al2023
Role: !Ref LambdaRole
Environment:
Variables:
SECRET_TOKEN: !Ref SecretToken
Expand Down

0 comments on commit 92846c8

Please sign in to comment.