Use the MobileBoost GitHub Actions to upload a build and run your mobile tests from your CI pipeline:Documentation Index
Fetch the complete documentation index at: https://docs.mobileboost.io/llms.txt
Use this file to discover all available pages before exploring further.
upload-builduploads your iOS or Android build (.zipor.apk).run-testsruns your tests against that build and reports pass or fail.
MobileBoostHQ/actions.
Add your credentials
In your repository, go to Settings > Secrets and variables > Actions. In the Secrets tab, create a repository secret:MOBILEBOOST_API_KEY: Your MobileBoost API key, such asmb_live_....
MOBILEBOOST_ORG_ID: Your MobileBoost organization ID.
You can find your API key and organization ID in the MobileBoost dashboard.
You can also ask your MobileBoost contact for them.
Add a workflow
Create.github/workflows/mobileboost.yml in your repository:
smoke, waits for them to finish, and fails the job if any test fails. The run summary includes a result table and recording links.
Key inputs
upload-build
| Input | Required | Description |
|---|---|---|
api-key | Yes | Your API key. Use the repository secret. |
organisation-id | Yes | Your organization ID. |
build-path | Yes | Path to a .zip or .apk, a directory that is zipped automatically, or a glob where the first match is used. |
build-id: Pass this torun-tests.app-link: Dashboard URL.
run-tests
| Input | Required | Description |
|---|---|---|
api-key | Yes | Your API key. Use the repository secret. |
organisation-id | Yes | Your organization ID. |
build-id | Yes | The build-id from the upload-build step output. |
tags | One of tags or test-ids | Comma-separated tags. Runs tests matching any tag. |
test-ids | One of tags or test-ids | Comma-separated test IDs. Takes precedence over tags. |
async | No | Set to true to trigger the run without waiting. Defaults to false. |
timeout-minutes | No | Maximum wait time in sync mode. Defaults to 60. |
fail-on-test-failure | No | Set to false to report results without failing the job. Defaults to true. |
Provide at least one of
tags or test-ids. If both are provided, test-ids takes precedence.Common variations
Run specific tests with a shorter wait
Trigger and inspect later
Setasync to true to trigger the run without waiting for it to finish.
Report results without failing the job
Setfail-on-test-failure to false.
Run only on a merged pull request
Change the workflow trigger:Pin the version
@v1: Recommended. Automatically gets the latestv1.x.xrelease with bug fixes and no breaking changes.@v1.2.3: Pins to an exact version for full reproducibility.@main: Tracks the latest commit. This may include breaking changes, so it is not recommended for production.
Troubleshooting
| Symptom | Fix |
|---|---|
Invalid API key (401) | Check that MOBILEBOOST_API_KEY is set and uses your mb_live_... key. |
No file or directory matched build-path | Make sure your build step ran and the path or glob is correct. |
Unsupported build file | Only .zip and .apk files are supported. |
Run did not finish within the timeout | Increase timeout-minutes, or use async: true. The run continues in MobileBoost. |
Job fails with N failed, M blocked | Tests failed. Open the dashboard link in the run summary to view recordings. |
HTTPS_PROXY, HTTP_PROXY, and NO_PROXY. They also support custom CA bundles via NODE_EXTRA_CA_CERTS.
Questions or issues? Contact your MobileBoost representative.
