diff --git a/dev/bots/test.dart b/dev/bots/test.dart index 165d78dc7da..9dc80db061d 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -840,23 +840,14 @@ Future _runFlutterPluginsTests() async { workingDirectory: checkout.path, ); await runCommand( - pub, + './script/incremental_build.sh', [ - 'global', - 'activate', - 'flutter_plugin_tools', - ], - workingDirectory: checkout.path, - ); - await runCommand( - pub, - [ - 'global', - 'run', - 'flutter_plugin_tools', 'analyze', ], workingDirectory: checkout.path, + environment: { + 'BRANCH_NAME': 'master', + }, ); } await selectSubshard({