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