GitHub Actions
Setup
Add your API key secret
Example
name: Build and run Maestro tests (Native Android)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
maestro-cloud:
runs-on: ubuntu-latest
outputs:
app: app/build/outputs/apk/debug
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
distribution: 'temurin'
- run: ./gradlew assembleDebug
- uses: mobile-dev-inc/action-maestro-cloud@v1
with:
api-key: ${{ secrets.MAESTRO_API_KEY }}
# note that you can supply the project id any way you like, it is not secret
project-id: ${{ secrets.MAESTRO_PROJECT_ID }}
app-file: app/build/outputs/apk/debug/app-debug.apkCommit your Maestro Flows to your repository
Inputs
Key
Required
Description
Custom workspace location
Custom name
Run in async mode
Triggers
Adding environment variables
Using tags
Using an already uploaded App
Configuring the locale for the device where the flows will be executed
Outputs
Output types
Usage examples
Maestro GitHub Action for AndroidMaestro GitHub Action for iOSMaestro GitHub Action for FlutterThatβs it!
Last updated
Was this helpful?
