14
14
fail-fast : false
15
15
matrix :
16
16
os : [ macOS-13 ]
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 : macOS-13
25
- api : 30
26
- abi : x86_64
27
- tag : ' google_apis'
28
17
steps :
29
18
- name : Checkout
30
19
uses : actions/checkout@v3
@@ -33,33 +22,26 @@ jobs:
33
22
with :
34
23
distribution : ' adopt'
35
24
java-version : 17
36
- - name : Install Android SDK
37
- uses :
hannesa2/action-android/[email protected]
38
- - name : Build project
39
- run : ./gradlew nexusOneApi30DebugAndroidTest
40
- # - name: Run instrumentation tests
41
- # run: ./gradlew nexusOneApi30DebugAndroidTest
42
- # api: ${{ matrix.api }}
43
- # tag: ${{ matrix.tag }}
44
- # abi: ${{ matrix.abi }}
45
- # cmdOptions: -noaudio -no-boot-anim -no-window
25
+ -
uses :
hannesa2/action-android/[email protected]
26
+ - run : sdkmanager platform-tools
27
+ - run : ./gradlew nexusOneApi30DebugAndroidTest
46
28
- name : Archive Espresso report
47
29
if : ${{ always() }}
48
30
uses : actions/upload-artifact@v3
49
31
with :
50
- name : Moka-Espresso-report-${{ matrix.api }}-${{ matrix.abi }}-report
32
+ name : Moka-Espresso-report
51
33
path : sample/build/reports/androidTests/connected
52
34
- name : Archive Espresso results
53
35
if : ${{ always() }}
54
36
uses : actions/upload-artifact@v3
55
37
with :
56
- name : Moka-Espresso-${{ matrix.api }}-${{ matrix.abi }}-report
57
- path : sample/build/reports/androidTests/connected
38
+ name : Moka-Espresso-result
39
+ path : sample/build/outputs/androidTest-results/managedDevice
58
40
- name : Archive screenshots
59
41
if : ${{ always() }}
60
42
61
43
with :
62
- name : Moka-Screenshots-${{ matrix.api }}-${{ matrix.abi }}-report
44
+ name : Moka-Screenshots
63
45
path : |
64
46
sample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
65
47
sample/build/outputs/androidTest-results/connected
73
55
steps :
74
56
- name : Checkout
75
57
uses : actions/checkout@v3
76
- - name : Install JDK ${{ matrix.java_version }}
58
+ - name : Install JDK
77
59
uses : actions/setup-java@v3
78
60
with :
79
61
distribution : ' adopt'
0 commit comments