Adding test workflow #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/maestro-run@98a803b969bca68a89c935963cd3a84dab4acf69 | |
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' |