Skip to content

Test Multiple Maestro Versions on iOS #148

Test Multiple Maestro Versions on iOS

Test Multiple Maestro Versions on iOS #148

name: Test Multiple Maestro Versions on iOS
on:
# Run at 3 AM UTC daily
schedule:
- cron: "0 3 * * *"
# Allow manual triggering
workflow_dispatch:
inputs:
environment:
description: "Environment to run tests against"
type: choice
options:
- prod
- dev
default: "prod"
required: true
jobs:
test-ios:
name: iOS - 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 iOS 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.zip
workspace: ./flows/ios-flow.yaml
maestro-version: ${{ matrix.maestro-version }}
name: "iOS - Maestro ${{ matrix.maestro-version }} Test Run"