Test Multiple Maestro Versions on iOS #477
This file contains hidden or 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: 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 | |
| use-beta: | |
| description: "Use beta version" | |
| type: boolean | |
| default: false | |
| required: false | |
| 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.1" | |
| - "1.39.5" | |
| - "1.41.0" | |
| - "2.0.4" | |
| - "2.0.9" | |
| - "2.1.0" | |
| - "2.2.0" | |
| - "2.4.0" | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Run iOS Maestro Tests | |
| uses: devicecloud-dev/device-cloud-for-maestro@v2 | |
| 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-binary-id: ${{ github.event.inputs.environment == 'dev' && '9e4f3c0b-146e-4bc8-8820-d49eb5e25198' || '81155b2c-e18d-4527-871a-6788068d836b' }} | |
| workspace: ./flows/ios-flow-simple.yaml | |
| maestro-version: ${{ matrix.maestro-version }} | |
| use-beta: ${{ github.event.inputs.use-beta }} | |
| name: "iOS - Maestro ${{ matrix.maestro-version }} Test Run" |