Skip to content

Commit b71b9d0

Browse files
committed
Use impeller on macOS tests
1 parent 36b7e57 commit b71b9d0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

flutter_ci_script_shared.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@ function ci_codelabs () {
5050
if [ -d "test" ]
5151
then
5252
if grep -q "flutter:" "pubspec.yaml"; then
53-
flutter test
53+
if [ $RUNNER_OS = 'macOS' ]; then
54+
# Impeller is required for intro_flutter_gpu
55+
flutter test --enable-impeller
56+
else
57+
flutter test
58+
fi
5459
else
5560
# If the project is not a Flutter project, use the Dart CLI.
5661
dart test

0 commit comments

Comments
 (0)