mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
added no-sandbox flag to core-main process tests
This commit is contained in:
@@ -84,6 +84,11 @@ function runCoreMainProcessTests (callback) {
|
||||
'--resource-path', resourcePath,
|
||||
'--test', '--main-process', testPath
|
||||
]
|
||||
|
||||
if(process.env.CI){
|
||||
testArguments.push('--no-sandbox')
|
||||
}
|
||||
|
||||
const testEnv = Object.assign({}, prepareEnv('core-main-process'), {ATOM_GITHUB_INLINE_GIT_EXEC: 'true'})
|
||||
|
||||
console.log('Executing core main process tests'.bold.green)
|
||||
|
||||
Reference in New Issue
Block a user