diff --git a/.ci.yaml b/.ci.yaml index b80197aeab6..b433cdfb331 100755 --- a/.ci.yaml +++ b/.ci.yaml @@ -349,7 +349,6 @@ targets: scheduler: luci - name: Linux flutter_plugins - bringup: true # https://github.com/flutter/flutter/issues/89805 recipe: flutter/flutter_drone timeout: 60 properties: diff --git a/dev/bots/test.dart b/dev/bots/test.dart index d71ea5093d2..89253c83430 100644 --- a/dev/bots/test.dart +++ b/dev/bots/test.dart @@ -1140,16 +1140,30 @@ Future _runFlutterPluginsTests() async { ], workingDirectory: checkout.path, ); + // Prep the repository tooling. + // This test does not use tool_runner.sh because in this context the test + // should always run on the entire plugins repo, while tool_runner.sh + // is designed for flutter/plugins CI and only analyzes changed repository + // files when run for anything but master. + final String toolDir = path.join(checkout.path, 'script', 'tool'); await runCommand( - './script/tool_runner.sh', + 'dart', [ + 'pub', + 'get', + ], + workingDirectory: toolDir, + ); + final String toolScript = path.join(toolDir, 'bin', 'flutter_plugin_tools.dart'); + await runCommand( + 'dart', + [ + 'run', + toolScript, 'analyze', '--custom-analysis=script/configs/custom_analysis.yaml', ], workingDirectory: checkout.path, - environment: { - 'BRANCH_NAME': 'master', - }, ); } await selectSubshard({