1414 fail-fast : false
1515 matrix :
1616 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'
2817 steps :
2918 - name : Checkout
3019 uses : actions/checkout@v3
@@ -33,33 +22,26 @@ jobs:
3322 with :
3423 distribution : ' adopt'
3524 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
4628 - name : Archive Espresso report
4729 if : ${{ always() }}
4830 uses : actions/upload-artifact@v3
4931 with :
50- name : Moka-Espresso-report-${{ matrix.api }}-${{ matrix.abi }}-report
32+ name : Moka-Espresso-report
5133 path : sample/build/reports/androidTests/connected
5234 - name : Archive Espresso results
5335 if : ${{ always() }}
5436 uses : actions/upload-artifact@v3
5537 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
5840 - name : Archive screenshots
5941 if : ${{ always() }}
60426143 with :
62- name : Moka-Screenshots-${{ matrix.api }}-${{ matrix.abi }}-report
44+ name : Moka-Screenshots
6345 path : |
6446 sample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
6547 sample/build/outputs/androidTest-results/connected
7355 steps :
7456 - name : Checkout
7557 uses : actions/checkout@v3
76- - name : Install JDK ${{ matrix.java_version }}
58+ - name : Install JDK
7759 uses : actions/setup-java@v3
7860 with :
7961 distribution : ' adopt'
0 commit comments