From 3baf9d4c607b91c896264bc350e480d0303388cc Mon Sep 17 00:00:00 2001 From: Gray Mackall <34871572+gmackall@users.noreply.github.com> Date: Mon, 21 Oct 2024 08:36:45 -0700 Subject: [PATCH] Make android dependency version test suite run on changes to templates (#157196) We have a group of tests that verifies that we can build a flutter app across the range of AGP, Kotlin, and Gradle versions we claim to support. They currently only run on postsubmit. This pr aims to make them run in presubmit as well, but only when changes are made to the templates (not just android templates, see https://github.com/flutter/flutter/pull/157196#discussion_r1807055791 as to why). --- .ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.ci.yaml b/.ci.yaml index 42797f7697f..bcee2776e5e 100644 --- a/.ci.yaml +++ b/.ci.yaml @@ -1372,7 +1372,6 @@ targets: - name: Linux android_java11_dependency_smoke_tests recipe: devicelab/devicelab_drone - presubmit: false timeout: 60 properties: add_recipes_cq: "true" @@ -1386,10 +1385,12 @@ targets: tags: > ["devicelab", "hostonly", "linux"] test_timeout_secs: "2700" + runIf: + - packages/flutter_tools/templates/** + - .ci.yaml - name: Linux android_java17_dependency_smoke_tests recipe: devicelab/devicelab_drone - presubmit: false timeout: 60 properties: add_recipes_cq: "true" @@ -1403,6 +1404,9 @@ targets: tags: > ["devicelab", "hostonly", "linux"] test_timeout_secs: "2700" + runIf: + - packages/flutter_tools/templates/** + - .ci.yaml - name: Linux tool_tests_commands recipe: flutter/flutter_drone