Commit 8ea3cb4 1 parent 0b583d5 commit 8ea3cb4 Copy full SHA for 8ea3cb4
File tree 1 file changed +30
-1
lines changed
1 file changed +30
-1
lines changed Original file line number Diff line number Diff line change 13
13
name : Build and Unit test
14
14
runs-on : ubuntu-latest
15
15
steps :
16
- - uses : actions/checkout@v3
16
+ - name : Checkout
17
+ uses : actions/checkout@v3
17
18
18
19
- name : Setup JDK 17
19
20
uses : actions/setup-java@v3
30
31
31
32
- name : Build with Gradle
32
33
run : ./gradlew build
34
+
35
+ ui-test :
36
+ name : UI tests on Android (API level ${{ matrix.api-level }})
37
+ runs-on : macos-latest
38
+ strategy :
39
+ matrix :
40
+ api-level : [ 26, 28, 34 ]
41
+ steps :
42
+ - name : Checkout
43
+ uses : actions/checkout@v3
44
+
45
+ - name : Setup JDK 17
46
+ uses : actions/setup-java@v3
47
+ with :
48
+ java-version : ' 17'
49
+ distribution : ' temurin'
50
+ cache : gradle
51
+
52
+ - name : Setup Android SDK
53
+ uses : android-actions/setup-android@v2
54
+
55
+ - name : UI test
56
+ uses : reactivecircus/android-emulator-runner@v2
57
+ with :
58
+ api-level : ${{ matrix.api-level }}
59
+ disable-animations : true
60
+ arch : x86_64
61
+ script : ./gradlew connectedCheck
You can’t perform that action at this time.
0 commit comments