-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android] Add new tasks for subset of tests to run API 33 (#4974)
Adds new tasks to create shards to run a subset of Android platform tests on API 33 AVD tests when the update to run tests on AVDs with API 34 lands due to test failures on a subset of plugins. Prequel PR to #4820.
- Loading branch information
Showing
3 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Same as android_platform_tests.yaml with only packages currently requiring | ||
# Android 33 due to test failures caused by running on Android 34 AVDs. | ||
tasks: | ||
- name: prepare tool | ||
script: .ci/scripts/prepare_tool.sh | ||
infra_step: true # Note infra steps failing prevents "always" from running. | ||
- name: download Dart and Android deps | ||
script: script/tool_runner.sh | ||
infra_step: true | ||
args: ["fetch-deps", "--android", "--supporting-target-platforms-only", "--filter-packages-to=script/configs/still_requires_api_33_avd.yaml"] | ||
- name: build examples | ||
script: script/tool_runner.sh | ||
args: ["build-examples", "--apk", "--filter-packages-to=script/configs/still_requires_api_33_avd.yaml"] | ||
- name: lint | ||
script: script/tool_runner.sh | ||
args: ["lint-android", "--filter-packages-to=script/configs/still_requires_api_33_avd.yaml"] | ||
# Native unit and native integration are split into two steps to allow for | ||
# different exclusions. | ||
# TODO(stuartmorgan): Eliminate the native unit test exclusion, and combine | ||
# these steps. | ||
- name: native unit tests | ||
script: script/tool_runner.sh | ||
args: ["native-test", "--android", "--no-integration", "--filter-packages-to=script/configs/still_requires_api_33_avd.yaml"] | ||
- name: native integration tests | ||
script: script/tool_runner.sh | ||
args: ["native-test", "--android", "--no-unit", "--filter-packages-to=script/configs/still_requires_api_33_avd.yaml"] | ||
- name: drive examples | ||
script: script/tool_runner.sh | ||
args: ["drive-examples", "--android", "--filter-packages-to=script/configs/still_requires_api_33_avd.yaml"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Running the somes tests from these packages on an AVD with Android 34 causes failures. | ||
- file_selector | ||
- quick_actions | ||
- webview_flutter |