Skip to content

Test Multiple Maestro Versions on Android #153

Test Multiple Maestro Versions on Android

Test Multiple Maestro Versions on Android #153

name: Test Multiple Maestro Versions on Android
on:
# Run at 4 AM UTC daily
schedule:
- cron: "0 4 * * *"
# Allow manual triggering
workflow_dispatch:
inputs:
environment:
description: "Environment to run tests against"
type: choice
options:
- prod
- dev
default: "prod"
required: true
jobs:
test-android:
name: Android - Maestro ${{ matrix.maestro-version }}
runs-on: ubuntu-latest
strategy:
# Don't cancel all jobs if one fails
fail-fast: false
matrix:
maestro-version:
- "1.39.0"
- "1.39.1"
- "1.39.2"
- "1.39.4"
- "1.39.5"
- "1.39.7"
steps:
- uses: actions/checkout@v3
- name: Run Android Maestro Tests
uses: devicecloud-dev/device-cloud-for-maestro@v1
with:
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
app-file: ./binaries/sample.apk
workspace: ./flows/android-flow.yaml
maestro-version: ${{ matrix.maestro-version }}
name: "Android - Maestro ${{ matrix.maestro-version }} Test Run"