mirror of
https://github.com/flutter/packages.git
synced 2025-08-06 17:28:42 +08:00
[ci][web] Run tests in canvaskit mode. (#6879)
Configures the flutter/packages CI to run web tests using the `canvaskit` renderer, which is the new default for web apps. It also does some minor changes: * Skips tests on the web for `package:palette_generator` (cleanup issue created below) * Makes the `palette_generator` example run on the web. This was used to manually verify that the package still works as expected with canvaskit. * Tweaks the README of the `pointer_interceptor` example apps, so they match what's happening in there. ## Issues * Fixes https://github.com/flutter/flutter/issues/143543 Co-authored-by: David Iglesias <ditman@gmail.com>
This commit is contained in:
@ -331,7 +331,7 @@ test_on: vm && browser
|
||||
'test',
|
||||
'--color',
|
||||
'--platform=chrome',
|
||||
'--web-renderer=html'
|
||||
'--web-renderer=canvaskit',
|
||||
],
|
||||
package.path),
|
||||
]),
|
||||
@ -360,7 +360,7 @@ test_on: vm && browser
|
||||
'test',
|
||||
'--color',
|
||||
'--platform=chrome',
|
||||
'--web-renderer=html'
|
||||
'--web-renderer=canvaskit',
|
||||
],
|
||||
plugin.path),
|
||||
]),
|
||||
@ -390,7 +390,7 @@ test_on: vm && browser
|
||||
'test',
|
||||
'--color',
|
||||
'--platform=chrome',
|
||||
'--web-renderer=html'
|
||||
'--web-renderer=canvaskit',
|
||||
],
|
||||
plugin.path),
|
||||
]),
|
||||
@ -420,7 +420,7 @@ test_on: vm && browser
|
||||
'test',
|
||||
'--color',
|
||||
'--platform=chrome',
|
||||
'--web-renderer=html'
|
||||
'--web-renderer=canvaskit',
|
||||
],
|
||||
plugin.path),
|
||||
]),
|
||||
@ -495,7 +495,7 @@ test_on: vm && browser
|
||||
'test',
|
||||
'--color',
|
||||
'--platform=chrome',
|
||||
'--web-renderer=html'
|
||||
'--web-renderer=canvaskit',
|
||||
],
|
||||
plugin.path),
|
||||
]),
|
||||
|
Reference in New Issue
Block a user