Unverified Commit 8cb09cf4 authored by godofredoc's avatar godofredoc Committed by GitHub

Enable pre/post submit hostonly tests. (#65985)

parent 634e461c
......@@ -9,12 +9,6 @@ windows_shard_template: &WINDOWS_SHARD_TEMPLATE
script:
- dart --enable-asserts ./dev/bots/test.dart
macos_shard_template: &MACOS_SHARD_TEMPLATE
only_if: "changesInclude('.cirrus.yml', 'dev/**', 'bin/**') || $CIRRUS_PR == ''" # https://github.com/flutter/flutter/issues/41941
script:
- ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
- dart --enable-asserts ./dev/bots/test.dart
firebase_shard_template: &FIREBASE_SHARD_TEMPLATE
environment:
# Empirically, this shard runs in 20-25 minutes with just one CPU and 4G of RAM, as of
......@@ -384,25 +378,6 @@ task:
matrix:
# TODO(ianh): Enable Web tests on macOS.
- name: hostonly_devicelab_tests-0-macos
<< : *MACOS_SHARD_TEMPLATE
- name: hostonly_devicelab_tests-1-macos
<< : *MACOS_SHARD_TEMPLATE
- name: hostonly_devicelab_tests-2-macos
<< : *MACOS_SHARD_TEMPLATE
- name: hostonly_devicelab_tests-3_last-macos
<< : *MACOS_SHARD_TEMPLATE
- name: customer_testing-macos
script:
- ulimit -S -n 2048 # https://github.com/flutter/flutter/issues/2976
- rm -rf bin/cache/pkg/tests
- git clone https://github.com/flutter/tests.git bin/cache/pkg/tests
- dart --enable-asserts dev/customer_testing/run_tests.dart --skip-on-fetch-failure --skip-template bin/cache/pkg/tests/registry/*.test
- name: deploy_gallery-macos # linux- and macos- only
# Do not add more tasks here. Nothing is currently deployed from master branch, so it is safe to run
# even if a test has failed. The behavior of failing dependencies is non-ideal for infra health.
......
......@@ -66,18 +66,120 @@
"task_name":"linux_web_smoke_test",
"flaky":false
},
{
"name": "Mac build_aar_module_test",
"repo": "flutter",
"task_name": "mac_build_aar_module_test",
"flaky": false
},
{
"name": "Mac build_ios_framework_module_test",
"repo": "flutter",
"task_name": "mac_build_ios_framework_module_test",
"flaky": false
},
{
"name": "Mac build_tests",
"repo": "flutter",
"task_name": "mac_build_tests",
"flaky": false
},
{
"name": "Mac customer_testing",
"repo": "flutter",
"task_name": "mac_customer_testing",
"flaky": false
},
{
"name": "Mac framework_tests",
"repo": "flutter",
"task_name": "mac_framework_tests",
"flaky": false
},
{
"name": "Mac gradle_fast_start_test",
"repo": "flutter",
"task_name": "mac_gradle_fast_start_test",
"flaky": false
},
{
"name": "Mac gradle_jetifier_test",
"repo": "flutter",
"task_name": "mac_gradle_jetifier_test",
"flaky": false
},
{
"name": "Mac gradle_non_android_plugin_test",
"repo": "flutter",
"task_name": "mac_gradle_non_android_plugin_test",
"flaky": false
},
{
"name": "Mac gradle_plugin_bundle_test",
"repo": "flutter",
"task_name": "mac_gradle_plugin_bundle_test",
"flaky": false
},
{
"name": "Mac gradle_plugin_fat_apk_test",
"repo": "flutter",
"task_name": "mac_gradle_plugin_fat_apk_test",
"flaky": false
},
{
"name": "Mac gradle_plugin_light_apk_test",
"repo": "flutter",
"task_name": "mac_gradle_plugin_light_apk_test",
"flaky": false
},
{
"name": "Mac gradle_r8_test",
"repo": "flutter",
"task_name": "mac_gradle_r8_test",
"flaky": false
},
{
"name": "Mac module_custom_host_app_name_test",
"repo": "flutter",
"task_name": "mac_module_custom_host_app_name_test",
"flaky": false
},
{
"name": "Mac module_host_with_custom_build_test",
"repo": "flutter",
"task_name": "mac_module_host_with_custom_build_test",
"flaky": false
},
{
"name": "Mac module_test",
"repo": "flutter",
"task_name": "mac_module_test",
"flaky": false
},
{
"name": "Mac module_test_ios",
"repo": "flutter",
"task_name": "mac_module_test_ios",
"flaky": false
},
{
"name": "Mac plugin_dependencies_test",
"repo": "flutter",
"task_name": "mac_plugin_dependencies_test",
"flaky": false
},
{
"name": "Mac plugin_lint_mac",
"repo": "flutter",
"task_name": "mac_plugin_lint_mac",
"flaky": false
},
{
"name": "Mac plugin_test",
"repo": "flutter",
"task_name": "mac_plugin_test",
"flaky": false
},
{
"name": "Mac tool_tests",
"repo": "flutter",
......
......@@ -72,6 +72,20 @@
"enabled":true,
"run_if":["examples/hello_world/**" ,"dev/**", "packages/flutter/**", "packages/flutter_test/**", "packages/flutter_tools/lib/src/test/**", "packages/flutter_web_plugins/**", "bin/**"]
},
{
"name":"Mac build_aar_module_test",
"repo":"flutter",
"task_name":"mac_build_aar_module_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac build_ios_framework_module_test",
"repo":"flutter",
"task_name":"mac_build_ios_framework_module_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac build_tests",
"repo":"flutter",
......@@ -79,6 +93,12 @@
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac customer_testing",
"repo":"flutter",
"task_name":"mac_customer_testing",
"enabled":true
},
{
"name":"Mac framework_tests",
"repo":"flutter",
......@@ -86,6 +106,104 @@
"enabled":true,
"run_if":["dev/**", "packages/flutter/**", "packages/flutter_goldens/**", "packages/flutter_goldens_client/**", "packages/flutter_test/**", "packages/flutter_tools/lib/src/test/**", "bin/**"]
},
{
"name":"Mac gradle_fast_start_test",
"repo":"flutter",
"task_name":"mac_gradle_fast_start_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac gradle_jetifier_test",
"repo":"flutter",
"task_name":"mac_gradle_jetifier_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac gradle_non_android_plugin_test",
"repo":"flutter",
"task_name":"mac_gradle_non_android_plugin_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac gradle_plugin_bundle_test",
"repo":"flutter",
"task_name":"mac_gradle_plugin_bundle_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac gradle_plugin_fat_apk_test",
"repo":"flutter",
"task_name":"mac_gradle_plugin_fat_apk_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac gradle_plugin_light_apk_test",
"repo":"flutter",
"task_name":"mac_gradle_plugin_light_apk_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac gradle_r8_test",
"repo":"flutter",
"task_name":"mac_gradle_r8_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac module_custom_host_app_name_test",
"repo":"flutter",
"task_name":"mac_module_custom_host_app_name_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac module_host_with_custom_build_test",
"repo":"flutter",
"task_name":"mac_module_host_with_custom_build_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac module_test",
"repo":"flutter",
"task_name":"mac_module_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac module_test_ios",
"repo":"flutter",
"task_name":"mac_module_test_ios",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac plugin_dependencies_test",
"repo":"flutter",
"task_name":"mac_plugin_dependencies_test",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac plugin_lint_mac",
"repo":"flutter",
"task_name":"mac_plugin_lint_mac",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac plugin_test",
"repo":"flutter",
"task_name":"mac_plugin_lint_mac",
"enabled":true,
"run_if":["dev/**", "bin/**"]
},
{
"name":"Mac tool_tests",
"repo":"flutter",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment