Skip to content

Commit cb136a9

Browse files
authored
Disable android_instrumentation_test explicitly (#398)
Using just test_filter was not enough, because it still triggers emulator resolution.
1 parent 30b1b36 commit cb136a9

File tree

1 file changed

+80
-3
lines changed

1 file changed

+80
-3
lines changed

bazelci/buildkite-pipeline.yml

+80-3
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,92 @@ platforms:
44
ubuntu1804:
55
build_targets:
66
- "//..."
7-
build_flags:
8-
- "--test_lang_filters=-android_instrumentation" # BazelCI does not have Android Emulator
7+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_23_x86" # BazelCI does not have Android Emulator
8+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_22_x86"
9+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_21_x86"
10+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_19_x86"
11+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_23_x86"
12+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_22_x86"
13+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_21_x86"
14+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_19_x86"
15+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_23_x86"
16+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_22_x86"
17+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_21_x86"
18+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_19_x86"
19+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_23_x86"
20+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_22_x86"
21+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_21_x86"
22+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_19_x86"
23+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_23_x86"
24+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_22_x86"
25+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_21_x86"
26+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_19_x86"
27+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_23_x86"
28+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_22_x86"
29+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_21_x86"
30+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_19_x86"
31+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_23_x86"
32+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_22_x86"
33+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_21_x86"
34+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_19_x86"
35+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_23_x86"
36+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_22_x86"
37+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_21_x86"
38+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_19_x86"
39+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_23_x86"
40+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_22_x86"
41+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_21_x86"
42+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_19_x86"
43+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_23_x86"
44+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_22_x86"
45+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_21_x86"
46+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_19_x86"
947
test_flags:
10-
- "--test_lang_filters=-android_instrumentation" # BazelCI does not have Android Emulator
1148
- "--config=remote_android"
1249
- "--flaky_test_attempts=3"
1350
test_targets:
1451
- "//..."
1552
- "-//ui/espresso/AccessibilitySample/..."
53+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_23_x86" # BazelCI does not have Android Emulator
54+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_22_x86"
55+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_21_x86"
56+
- "-//ui/uiautomator/BasicSample:BasicSampleInstrumentationTest_19_x86"
57+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_23_x86"
58+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_22_x86"
59+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_21_x86"
60+
- "-//ui/espresso/RecyclerViewSample:RecyclerViewSampleInstrumentationTest_19_x86"
61+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_23_x86"
62+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_22_x86"
63+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_21_x86"
64+
- "-//ui/espresso/MultiWindowSample:MultiWindowSampleInstrumentationTest_19_x86"
65+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_23_x86"
66+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_22_x86"
67+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_21_x86"
68+
- "-//ui/espresso/IntentsBasicSample:IntentsBasicSampleInstrumentationTest_19_x86"
69+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_23_x86"
70+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_22_x86"
71+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_21_x86"
72+
- "-//ui/espresso/IntentsAdvancedSample:IntentsAdvancedSampleInstrumentationTest_19_x86"
73+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_23_x86"
74+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_22_x86"
75+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_21_x86"
76+
- "-//ui/espresso/IdlingResourceSample:IdlingResourceSampleInstrumentationTest_19_x86"
77+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_23_x86"
78+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_22_x86"
79+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_21_x86"
80+
- "-//ui/espresso/DataAdapterSample:DataAdapterSampleInstrumentationTest_19_x86"
81+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_23_x86"
82+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_22_x86"
83+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_21_x86"
84+
- "-//ui/espresso/CustomMatcherSample:CustomMatcherSampleInstrumentationTest_19_x86"
85+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_23_x86"
86+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_22_x86"
87+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_21_x86"
88+
- "-//ui/espresso/BasicSample:BasicSampleInstrumentationTest_19_x86"
89+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_23_x86"
90+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_22_x86"
91+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_21_x86"
92+
- "-//ui/espresso/AccessibilitySample:BasicSampleInstrumentationTest_19_x86"
1693
macos:
1794
# Testing does not work for macos and windows yet
1895
build_targets: # Results of `bazel query 'kind(android_binary, //...)'

0 commit comments

Comments
 (0)