From d9e83712f69a010b37d65022008071b66e04337d Mon Sep 17 00:00:00 2001 From: Casey Hillers Date: Mon, 4 Dec 2023 10:58:29 -0800 Subject: [PATCH] Only run firebase tests on HEAD (#48548) https://github.com/flutter/flutter/issues/138835 --- ci/builders/README.md | 2 ++ ci/builders/linux_android_aot_engine.json | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ci/builders/README.md b/ci/builders/README.md index 73fcf14d41dd1..d229d58f295c0 100644 --- a/ci/builders/README.md +++ b/ci/builders/README.md @@ -325,6 +325,8 @@ directory. * **contexts** - a list of available contexts to add to the text execution step. The list of supported contexts can be found [here](https://flutter.googlesource.com/recipes/+/refs/heads/main/recipe_modules/flutter_deps/api.py#687). As of 06/20/23 two contexts are supported: "android_virtual_device" and "metric_center_token". +* **test_if** - a regex of what branches this test should run on. Defaults +to everywhere. The test scripts will run in a deferred context (failing the step only after logs have been uploaded). Tester and builder recipes provide an environment diff --git a/ci/builders/linux_android_aot_engine.json b/ci/builders/linux_android_aot_engine.json index 1d85550c23098..e0f7fe6cfc617 100644 --- a/ci/builders/linux_android_aot_engine.json +++ b/ci/builders/linux_android_aot_engine.json @@ -173,7 +173,8 @@ "parameters": [ "--variant", "android_profile_arm64" - ] + ], + "test_if": "main" } ] },