Skip to content

Commit f2ee24f

Browse files
authored
ci: enable device_data_test on gha (#554)
1 parent f7e9b2d commit f2ee24f

File tree

2 files changed

+6
-48
lines changed

2 files changed

+6
-48
lines changed

.github/workflows/functional-test.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -174,16 +174,16 @@ jobs:
174174
- target: test/functional/android/android/mobile_commands_test.rb
175175
automation_name: espresso
176176
name: test6
177+
- target: test/functional/android/android/device_data_test.rb
178+
automation_name: uiautomator2
179+
name: test7
180+
- target: test/functional/android/android/device_data_test.rb
181+
automation_name: espresso
182+
name: test8
177183

178184
# Some may not work well on GHA. Haven't fully fixed.
179185
# test/functional/android/android/mjpeg_server_test.rb
180186
# test/functional/android/android/image_comparison_test.rb
181-
# - target: test/functional/android/android/device_data_test.rb
182-
# automation_name: uiautomator2
183-
# name: test5
184-
# - target: test/functional/android/android/device_data_test.rb
185-
# automation_name: espresso
186-
# name: test6
187187

188188
env:
189189
API_LEVEL: 31

ci-jobs/functional_test.yml

-42
Original file line numberDiff line numberDiff line change
@@ -8,48 +8,6 @@ parameters:
88
CI: true
99

1010
jobs:
11-
- job: func_test_android_android3
12-
pool:
13-
vmImage: ${{ parameters.vmImage }}
14-
variables:
15-
CI: ${{ parameters.ci }}
16-
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
17-
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
18-
APPIUM_VERSION: ${{ parameters.appiumVersion }}
19-
strategy:
20-
matrix:
21-
uiautomator2:
22-
APPIUM_DRIVER: uiautomator2
23-
espresso:
24-
APPIUM_DRIVER: espresso
25-
steps:
26-
- template: ./functional/android_setup.yml
27-
- template: ./functional/run_appium.yml
28-
- script: bundle exec rake test:func:android TESTS=test/functional/android/android/device_data_test.rb
29-
displayName: Run tests func_test_android_android3
30-
- template: ./functional/publish_test_result.yml
31-
32-
- job: func_test_android_mobile_command_espresso
33-
pool:
34-
vmImage: ${{ parameters.vmImage }}
35-
variables:
36-
CI: ${{ parameters.ci }}
37-
ANDROID_SDK_VERSION: ${{ parameters.androidSDK }}
38-
IGNORE_VERSION_SKIP: ${{ parameters.ignoreVersionSkip }}
39-
APPIUM_VERSION: ${{ parameters.appiumVersion }}
40-
strategy:
41-
matrix:
42-
uiautomator2:
43-
APPIUM_DRIVER: uiautomator2
44-
espresso:
45-
APPIUM_DRIVER: espresso
46-
steps:
47-
- template: ./functional/android_setup.yml
48-
- template: ./functional/run_appium.yml
49-
- script: bundle exec rake test:func:android TESTS=test/functional/android/android/mobile_commands_test.rb
50-
displayName: Run tests func_test_android_mobile_command_espresso
51-
- template: ./functional/publish_test_result.yml
52-
5311
- job: func_test_android_opencv
5412
pool:
5513
vmImage: ${{ parameters.vmImage }}

0 commit comments

Comments
 (0)