generated from theolm/kmm-template
-
Notifications
You must be signed in to change notification settings - Fork 4
41 lines (36 loc) · 1.25 KB
/
maestro.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Ui Tests
on: pull_request
jobs:
ui-tests:
runs-on: ubuntu-latest
steps:
- name: Fetch Sources
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/[email protected]
with:
distribution: temurin
java-version: 17
- name: Build Voyager sample APK
id: voyager
run: ./gradlew :samples:voyager:assembleDebug
- name: Test Voyager Sample
if: success() && steps.voyager.conclusion == 'success'
uses: theolm/[email protected]
with:
apk-path: ./samples/voyager/build/outputs/apk/debug/voyager-debug.apk
test-path: ./maestro/android-voyager-flow.yaml
report-name: 'voyager-report'
record: 'true'
- name: Build Decompose sample APK
if: always()
id: decompose
run: ./gradlew :samples:decompose:assembleDebug
- name: Test Decompose Sample
if: success() && steps.decompose.conclusion == 'success'
uses: theolm/[email protected]
with:
apk-path: ./samples/decompose/build/outputs/apk/debug/decompose-debug.apk
test-path: ./maestro/android-decompose-flow.yaml
report-name: 'decompose-report'
record: 'true'