Skip to content

Commit

Permalink
Merge pull request #1331 from bugsnag/aws-lambda-tests-on-ci
Browse files Browse the repository at this point in the history
Add AWS Lambda tests to CI
  • Loading branch information
imjoehaines authored Mar 9, 2021
2 parents fc19d9b + 19a2027 commit 67271b5
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 85 deletions.
12 changes: 12 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ steps:
message: '${BUILDKITE_MESSAGE}'
async: true

- label: ':aws-lambda: AWS Lambda tests'
timeout_in_minutes: 35
agents:
queue: 'opensource-mac-aws-sam'
commands:
# force the NPM registry as the default on CI is artifactory, which can't
# currently install from our lockfile
- npm ci --registry https://registry.npmjs.org
- cd test/aws-lambda
- bundle install
- bundle exec maze-runner

#
# Core tests and checks
#
Expand Down
5 changes: 5 additions & 0 deletions test/aws-lambda/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
.aws-sam
node_modules/
.tgz

# Ignore the gem lockfile due to Bundler version differences on CI
# We don't really need this anyway because we have one dependency (MazeRunner)
# and we pin it to a specific tag, so it's effectively locked
/Gemfile.lock
85 changes: 0 additions & 85 deletions test/aws-lambda/Gemfile.lock

This file was deleted.

0 comments on commit 67271b5

Please sign in to comment.