CI Insights

Optimize your CI run time, catch flaky tests, and give developers actionable insights so your team ships code faster.


CI Insights helps you monitor your pipelines, detect flaky tests, and optimize your CI efficiency. This guide walks you through enabling CI Insights via GitHub and covers basic configuration steps.

Enabling CI Insights for GitHub

Section titled Enabling CI Insights for GitHub
  1. Enable CI Insights on your repositories by visiting the GitHub Integration page (docs).

  2. In order to upload your test results, you’ll need to configure your test. Before doing so, makes sure you set your MERGIFY_TOKEN in GitHub in your GitHub Actions secrets.

    To find your token in the Mergify dashboard, go to Settings and then CI Insights:

    CI Insights Token

    Once you copy it, you’ll need to paste it to into your secrets:

    GitHub Actions Secrets

    This token will be used to upload test reports. See below to configure them.

  3. Click on CI Insights in the navigation bar from Mergify dashboard. You should see your first GitHub Actions job run here.

    CI Insights

CI Insights currently supports many tests framework allowing you get more details about your test runs. Each framework requires a quick setup to ensure test results are captured correctly. Refer to the dedicated pages for your specific framework to configure and verify your test output.

Pytest

Integration Pytest with CI Insights.

Go

Integration Go with CI Insights.

Cypress

Integration Cypress with CI Insights.

Vitest

Integration Vitest with CI Insights.