Skip to main content
Integrating MobileBoost into your CI pipeline enables automated test execution against your latest app builds.

GitHub Action

The MobileBoost Test Action uploads your build and sends the PR body (which should contain test instructions) to MobileBoost in a single step.
The action automatically extracts test instructions from your PR body and sends them along with the build artifact. For guidance on formatting test instructions, see the format requirements section in the Natural language test definitions page.

Inputs

Required secrets

Add MOBILEBOOST_ORG_ID to your repository under Settings > Secrets and variables > Actions.

CI provider snippets

For other CI systems, use the upload API to send your build artifact and capture the returned buildId.
In all examples below, replace <ORG_KEY> with your MobileBoost organisation key, <platform> with ios or android, and the build file path with the actual path to your artifact.
Add a Script step to your workflow after the build step. This uploads the build and makes the buildId available as an environment variable for subsequent steps.
Link each build to its pull request (recommended). Pass a ci field so MobileBoost knows which pull request produced each build. Results then map back to the right PR, and MobileBoost can select the tests relevant to that PR’s changes. Every value comes from a built-in Bitrise variable, so there is nothing extra to create.
Each ci field maps to a variable Bitrise sets automatically:
$BITRISE_PULL_REQUEST and $BITRISEIO_GIT_BRANCH_DEST are only set on pull-request-triggered builds, so make sure your workflow runs on pull requests (App settings > Triggers). On non-PR builds the snippet omits prNumber and links the build by commit instead - no changes needed.
The only value you provide yourself is your organisation key - store it as a Secret (App settings > Secrets) and reference it (for example $MOBILEBOOST_ORG_KEY) instead of hardcoding <ORG_KEY>. The build path is whatever your build step produces ($BITRISE_APK_PATH for Android, $BITRISE_IPA_PATH for iOS).

API

For full control, use the API directly. The process has two steps: upload the build, then trigger tests.

Step 1: Upload the build

Upload your build artifact using the upload endpoint. The response returns a buildId.

Step 2: Trigger tests

Use the buildId from step 1 to trigger test executions via POST /tests/execute. Run specific tests by ID:
Run tests by tags:
  • Use tags for OR logic: runs tests with at least one matching tag
  • Use tagsQuery for AND logic: e.g., "AND(critical, android)" runs tests that have all specified tags
Provide test input values:

Build requirements

Before tests can run, your application build must be uploaded to MobileBoost.

Simulators

iOS simulator builds: Build your app in Xcode targeting an iOS Simulator. Locate the .app file at Product > Show Build Folder in Finder > Products/Debug-iphonesimulator. Then compress it:
Or build from the command line:

Physical devices