All Collections
Test Automation
Setup and Integration
Updating Test Status on GitHub Pull Requests
Updating Test Status on GitHub Pull Requests

Linking test automation results to GitHub Pull Requests

Kieran McKeag avatar
Written by Kieran McKeag
Updated over a week ago

To enable Test Status updates in GitHub Pull Requests like the ones shown below, use the miqa-status-check app from GitHub apps.

Configure

  1. Install the miqa-status-check app in your GitHub repository (see Install or Configure App below).

  2. Click "Configure" and then note the installation ID for this app in your GitHub account. You can find the installation ID by checking the URL in your browser's address bar when you are on the page. For example:

    would have installation ID 1234567.

  3. Create a new integration: go to Test Automation (using the left navigation bar) and select Manage Integrations from the Quick Actions menu to get to the integration management page.

  4. On the Manage Integrations Page, select Add GitHub Integration from the Quick Actions menu.

  5. Configure your integration with a unique name and the Installation ID from step 2.


Connect

To add a downstream PR-update step to an existing test trigger, update the appropriate Caller Configuration.

Caller Configurations refer to the connection from the CI build trigger to Miqa. Different Caller Configurations may have different downstream actions.

  1. Go to the Test Trigger: go to Test Automation, then Test Triggers, and then open the trigger page using the Trigger ID.

  2. Select the Caller Configuration (e.g. GitHub) to assign the downstream step. If needed, add a new Caller Configuration using the "Add" button.

  3. Select the Integration from the dropdown menu (e.g GitHub), and click Update GitHub PullRequest Status. Select the integration added in the Configure process, and save the Caller Configuration.

That's it! Test executions will now trigger the downstream steps.


Install or configure the GitHub app

Go to https://github.com/apps/miqa-status-check. Click the "Install" or "Configure" buttons to add or edit the app settings.

Did this answer your question?