Before wiring into CI, we recommend uploading a local build from your terminal to see the process working end-to-end. These steps should take you less than 5 minutes.
We'll be using the
maestro cloudcommand below, so start by installing the Maestro CLI if you haven't already:
curl -Ls "https://get.maestro.mobile.dev" | bash
Authenticate with mobile.dev on the command line using the following command:
If this is your first time logging in, you'll be prompted to create an account. Follow the printed instructions to complete the login process.
Use the download-samples command to download a sample app and Flow file to upload to Maestro Cloud:
You can of course choose to upload your own app and Flow file, but we recommend using the samples first to see how it works!
maestro cloudcommand to run your flow Maestro Cloud. This command works the same whether you're running it locally or in CI.
maestro cloud sample.apk android-flow.yaml
maestro cloud sample.zip ios-flow.yaml
A link to the Maestro Console console is printed out after your Flow is uploaded successfully. Click on the link to view the results of your upload. It may take a minute or so before your results are ready.
Congrats, you just ran your first Flow on Maestro Cloud! 🙌
Now that's you've seen how this works locally, let's take a look at how this can be integrated into your CI workflows: