Skip to main content
The GitHub Reporter app posts test run results to your application repository: a comment on each pull request, and a status check on each commit it tested. It needs access to checks and pull requests only, not to your source code.

Before you begin

The reporter posts only for runs that carry commit and branch details:
  • With the dispatch action, runs already include them.
  • With the API, send the build object in the trigger request.

Install

  1. Open Settings → Reporters.
  2. Click Install on the GitHub card.
  3. Choose the repositories your runs are triggered from: the repository with the dispatch action, or the one named in build.repo.

What it posts

Pull request comments

Empirical keeps one comment per pull request and environment, and edits it after every run. The comment shows the latest run with its results, up to four failed tests, any snoozed tests, and the previous 10 runs on the branch. Empirical comment on a pull request with the latest run's results and failed tests

Status checks

Each run is a check named Empirical tests - <environment> on the commit it tested. The check updates while the run is in progress. Its result ignores snoozed failures, so you can make it a required check. Empirical tests status check in the checks list of a pull request

Linked test changes

For runs triggered by a pull request, Empirical also posts a check named Empirical linked test changes. It fails until the pull request’s test changes are merged. See Linked test changes.

Permissions