We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7656266 commit 6b00e45Copy full SHA for 6b00e45
1 file changed
test/jasmine/karma.conf.js
@@ -261,8 +261,10 @@ func.defaultConfig = {
261
'--touch-events',
262
'--window-size=' + argv.width + ',' + argv.height,
263
isCI ? '--ignore-gpu-blocklist' : '',
264
- isCI ? '--use-gl=angle' : '',
265
- isCI ? '--use-angle=swiftshader' : '',
+ // The following two flags are needed only for the "NoCI" tests which run in GitHub Actions,
+ // since the GPU is not available to those runners and therefore we need to use SwiftShader instead.
266
+ isCI && process.env.GITHUB_ACTIONS ? '--use-gl=angle' : '',
267
+ isCI && process.env.GITHUB_ACTIONS ? '--use-angle=swiftshader' : '',
268
isCI ? '--no-sandbox' : '',
269
isBundleTest && basename(testFileGlob) === 'no_webgl' ? '--disable-webgl' : ''
270
]
0 commit comments