Skip to content

Commit 0cd8e0c

Browse files
committed
Next try
1 parent dcff024 commit 0cd8e0c

File tree

1 file changed

+8
-28
lines changed

1 file changed

+8
-28
lines changed

.github/workflows/pull-request.yml

+8-28
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,6 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
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'
2817
steps:
2918
- name: kvm support
3019
run: |
@@ -40,35 +29,26 @@ jobs:
4029
with:
4130
distribution: 'adopt'
4231
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
5535
- name: Archive Espresso report
5636
if: ${{ always() }}
5737
uses: actions/upload-artifact@v3
5838
with:
59-
name: Moka-Espresso-report-${{ matrix.api }}-${{ matrix.abi }}-report
39+
name: Moka-Espresso-report
6040
path: sample/build/reports/androidTests/connected
6141
- name: Archive Espresso results
6242
if: ${{ always() }}
6343
uses: actions/upload-artifact@v3
6444
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
6747
- name: Archive screenshots
6848
if: ${{ always() }}
6949
uses: actions/[email protected]
7050
with:
71-
name: Moka-Screenshots-${{ matrix.api }}-${{ matrix.abi }}-report
51+
name: Moka-Screenshots
7252
path: |
7353
sample/build/outputs/connected_android_test_additional_output/debugAndroidTest/connected
7454
sample/build/outputs/androidTest-results/connected
@@ -82,7 +62,7 @@ jobs:
8262
steps:
8363
- name: Checkout
8464
uses: actions/checkout@v4
85-
- name: Install JDK ${{ matrix.java_version }}
65+
- name: Install JDK
8666
uses: actions/setup-java@v4
8767
with:
8868
distribution: 'adopt'

0 commit comments

Comments
 (0)