build: speedy tests on circle by splitting the test files into multiple jobs (#21015)

* build: let circleci divide our test suites in two

* well our tests rely on side affects, thats cool I guess
This commit is contained in:
Samuel Attard 2019-11-06 16:15:55 -08:00 committed by GitHub
parent bbfb32b136
commit 24939e8fa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 51 additions and 80 deletions

View file

@ -11,6 +11,7 @@ const v8 = require('v8')
const argv = require('yargs')
.boolean('ci')
.array('files')
.string('g').alias('g', 'grep')
.boolean('i').alias('i', 'invert')
.argv
@ -133,7 +134,8 @@ app.on('ready', function () {
window.loadFile('static/index.html', {
query: {
grep: argv.grep,
invert: argv.invert ? 'true' : ''
invert: argv.invert ? 'true' : '',
files: argv.files ? argv.files.join(',') : undefined
}
})
window.on('unresponsive', function () {