Skip to content

Adding workflow to run maestro tests #2

Adding workflow to run maestro tests

Adding workflow to run maestro tests #2

Workflow file for this run

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
if: success() && steps.voyager.conclusion == 'success'
uses: theolm/[email protected]
with:
apk-path: samples/voyager/build/outputs/apk/debug/voyager-debug.apk
test-flow: maestro/android-voyager-flow.yaml
report-name: 'voyager-report'
- name: Build Decompose sample APK
if: always()
id: decompose
run: ./gradlew :samples:decompose:assembleDebug
- name: Test Decompose
if: success() && steps.decompose.conclusion == 'success'
uses: theolm/[email protected]
with:
apk-path: samples/decompose/build/outputs/apk/debug/decompose-debug.apk
test-flow: android-decompose-flow.yaml
report-name: 'decompose-report'