test: run all tests on arm linux platforms (#19318)

* test: run all tests on arm platforms

* Use Ubuntu 18.04 for arm64 CI
This commit is contained in:
John Kleinschmidt 2019-07-19 19:15:47 -04:00 committed by Shelley Vohr
parent dc30b86377
commit e389fa75ea
4 changed files with 13 additions and 24 deletions

View file

@ -150,8 +150,8 @@ async function installSpecModules () {
cwd: path.resolve(__dirname, '../spec'),
stdio: 'inherit'
})
if (status !== 0) {
throw new Error('Failed to npm install in the spec folder')
if (status !== 0 && !process.env.IGNORE_YARN_INSTALL_ERROR) {
throw new Error('Failed to yarn install in the spec folder')
}
}