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).
This commit is contained in:
Gray Mackall 2024-10-21 08:36:45 -07:00 committed by GitHub
parent e19d352fc9
commit 3baf9d4c60
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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