Skip to main content
Ask Peak to turn on test analytics for your workspace.

Before you start

Make your test runner write JUnit XML.

Create a token

  1. Open Settings → API access → Create token.
  2. Select Upload test results.
  3. Copy the token.
  4. Store it as a repository secret named PEAK_TOKEN.

Upload results

Add this step after your tests.
Replace junit.xml with your report’s path. For several reports in one job, upload each file and add a name for each.
Keep job_id in the step. It keeps matrix jobs apart.

Read the results

Open Insights → Tests. Check Tests, Failed, Flaky, and Test time p50. Check Most failing, Flaky, and Slowest. Open a test for its history. Open a failed run to see its failed tests. Expect a test to count as flaky when it passed and failed on the same commit, or passed on a retry in the same job.

Check limits