-
Notifications
You must be signed in to change notification settings - Fork 3.4k
chore(ci): use ChromeHeadless and FirefoxHeadless #11455
Conversation
28dc1be
to
c858ad1
Compare
6074d81
to
e30002f
Compare
e63d947
to
692798b
Compare
692798b
to
fbdff71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM aside one comment.
config/karma-travis.conf.js
Outdated
@@ -0,0 +1,28 @@ | |||
const baseKarma = require('./karma.conf.js'); | |||
process.env.CHROME_BIN = require('puppeteer').executablePath(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why even use puppeteer
if the chrome binaries are already installed through Travis? We should either remove pupeteer, or remove the chrome addon
of Travis.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Puppeteer was the recommendation of the karma-chrome-launcher
for headless. I'll give it a shot w/o it. It would be nice if npm i
didn't install the 82 MB Chrome bundle each time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. We should probably just remove puppeteer because I assume Travis has some better caching for its addons.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing Puppeteer did indeed work. Thanks for the feedback!
fix gulp errors with NodeJS 10 switch to NodeJS 10 improve NPM configuration via `npm ci` and caching "$HOME/.npm" fix keywords entry in package.json disable Saucelabs update readme, docs, deps to AngularJS 1.7.4 Fixes #11410
fbdff71
to
c523ca7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…11455) fix gulp errors with NodeJS 10 switch to NodeJS 10 improve NPM configuration via `npm ci` and caching "$HOME/.npm" fix keywords entry in package.json disable Saucelabs update readme, docs, deps to AngularJS 1.7.4 Fixes angular#11410
PR Checklist
Please check that your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
All of our tests run on Chrome for Windows only.
Issue Number:
Fixes #11410. Fixes #11468.
What is the new behavior?
npm ci
and caching"$HOME/.npm"
Does this PR introduce a breaking change?
Other information