Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 602e4ac

Browse files
[ci] Skip expensive native tests on stable in presubmit (#5962)
1 parent 6255da3 commit 602e4ac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.cirrus.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ task:
187187
- flutter config --enable-linux-desktop
188188
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
189189
- name: linux-platform_tests
190+
# Don't run full platform tests on both channels in pre-submit.
191+
skip: $CIRRUS_PR != '' && $CHANNEL == 'stable'
190192
env:
191193
matrix:
192194
CHANNEL: "master"
@@ -216,6 +218,8 @@ task:
216218
matrix:
217219
### Android tasks ###
218220
- name: android-platform_tests
221+
# Don't run full platform tests on both channels in pre-submit.
222+
skip: $CIRRUS_PR != '' && $CHANNEL == 'stable'
219223
env:
220224
matrix:
221225
PLUGIN_SHARDING: "--shardIndex 0 --shardCount 5"
@@ -316,6 +320,8 @@ task:
316320
<< : *BUILD_ALL_PLUGINS_APP_TEMPLATE
317321
### macOS desktop tasks ###
318322
- name: macos-platform_tests
323+
# Don't run full platform tests on both channels in pre-submit.
324+
skip: $CIRRUS_PR != '' && $CHANNEL == 'stable'
319325
env:
320326
matrix:
321327
CHANNEL: "master"
@@ -351,6 +357,8 @@ task:
351357
# tests are reliable on the ARM infrastructure. See discussion at
352358
# https://github.com/flutter/plugins/pull/5693#issuecomment-1126011089
353359
- name: ios-platform_tests
360+
# Don't run full platform tests on both channels in pre-submit.
361+
skip: $CIRRUS_PR != '' && $CHANNEL == 'stable'
354362
env:
355363
PATH: $PATH:/usr/local/bin
356364
matrix:

0 commit comments

Comments
 (0)