14
14
fail-fast : false
15
15
matrix :
16
16
os : [ ubuntu-latest ]
17
- api : [ 28 ]
18
- abi : [ x86_64 ]
19
- tag : [ 'default' ]
20
- include :
21
- # - api: 31
22
- # abi: x86_64
23
- # tag: 'google_apis'
24
- - os : ubuntu-latest
25
- api : 30
26
- abi : x86_64
27
- tag : ' google_apis'
28
17
steps :
29
18
- name : kvm support
30
19
run : |
@@ -40,35 +29,26 @@ jobs:
40
29
with :
41
30
distribution : ' adopt'
42
31
java-version : 17
43
- - name : Install Android SDK
44
- uses :
hannesa2/action-android/[email protected]
45
- - name : Build project
46
- run : ./gradlew assemble
47
- - name : Run instrumentation tests
48
- uses :
hannesa2/action-android/[email protected]
49
- with :
50
- cmd : ./gradlew nexusOneApi30DebugAndroidTest
51
- # api: ${{ matrix.api }}
52
- # tag: ${{ matrix.tag }}
53
- # abi: ${{ matrix.abi }}
54
- # cmdOptions: -noaudio -no-boot-anim -no-window
32
+ -
uses :
hannesa2/action-android/[email protected]
33
+ - run : sdkmanager platform-tools
34
+ - run : ./gradlew nexusOneApi30DebugAndroidTest
55
35
- name : Archive Espresso report
56
36
if : ${{ always() }}
57
37
uses : actions/upload-artifact@v3
58
38
with :
59
- name : Moka-Espresso-report-${{ matrix.api }}-${{ matrix.abi }}-report
39
+ name : Moka-Espresso-report
60
40
path : sample/build/reports/androidTests/connected
61
41
- name : Archive Espresso results
62
42
if : ${{ always() }}
63
43
uses : actions/upload-artifact@v3
64
44
with :
65
- name : Moka-Espresso-${{ matrix.api }}-${{ matrix.abi }}-report
66
- path : sample/build/reports/androidTests/connected
45
+ name : Moka-Espresso-result
46
+ path : sample/build/outputs/androidTest-results/managedDevice
67
47
- name : Archive screenshots
68
48
if : ${{ always() }}
69
49
70
50
with :
71
- name : Moka-Screenshots-${{ matrix.api }}-${{ matrix.abi }}-report
51
+ name : Moka-Screenshots
72
52
path : |
73
53
sample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
74
54
sample/build/outputs/androidTest-results/connected
82
62
steps :
83
63
- name : Checkout
84
64
uses : actions/checkout@v4
85
- - name : Install JDK ${{ matrix.java_version }}
65
+ - name : Install JDK
86
66
uses : actions/setup-java@v4
87
67
with :
88
68
distribution : ' adopt'
0 commit comments