Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add AWS Lambda tests to CI #1331

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

imjoehaines
Copy link
Contributor

Goal

Adds the AWS Lambda tests to CI. This was failing to install the top-level dependencies because NPM resolved the dependencies differently to Artifactory (which is the default on CI) — I'm not sure why this happens though!

NPM has resolved both @babel/helper-define-map and @babel/helper-explode-assignable-expression to the same package (@babel/helper-define-map). When Artifactory is used as the registry, it doesn't do this so the checksums don't match — because it's downloaded them as two different packages

This is weird but doesn't seem to break anything and NPM does the exact same thing if you recreate the lockfile so I don't think it's a bug per-se. To fix it, we can tell NPM to use its registry instead of Artifactory when installing the top-level dependencies

The CI boxes also have an older version of Bundler which refused to install from our Gemfile.lock — we don't really need the lockfile because we pin our single dependency (MazeRunner) to a specific tag, so I opted to delete the lockfile instead of changing the CI environment

The 35 minute timeout is ~10 minutes longer than it currently takes to run, so it has a bit of room

CI doesn't have an up-to-date bundler version, but it's not really
worth updating as we have a single pinned dependency (so it's
essentially locked even without a lockfile)
@github-actions
Copy link

github-actions bot commented Mar 9, 2021

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 40.84 kB 12.60 kB
After 40.84 kB 12.60 kB
± No change No change

code coverage diff

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
0%(+0%) 0%(+0%) 0%(+0%) 0%(+0%)

Generated by 🚫 dangerJS against 19a2027

Copy link
Contributor

@twometresteve twometresteve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@imjoehaines imjoehaines merged commit 67271b5 into integration/aws-lambda Mar 9, 2021
@imjoehaines imjoehaines deleted the aws-lambda-tests-on-ci branch March 9, 2021 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants