Skip to content

Connect a GitHub repository

Connect GitHub to see TestPerch run summaries on pull requests or to let AI test selection analyze repository changes. The GitHub App supplies repository access. The Playwright reporter in your CI job supplies the test results.

  1. As a TestPerch workspace owner or admin, open Workspace settings → Integrations → GitHub and select Connect GitHub.
  2. On GitHub, choose the account or organization that owns the repository, grant access to the repositories you intend to use, and finish authorization in the same browser. If GitHub asks you to request installation, have an organization owner approve it. Then start a fresh connection from TestPerch and finish authorization. GitHub App installation guidance
  3. Return to Integrations and check that the GitHub account shows Connected.
  1. Open Project settings → Repository. Under GitHub repository, select the exact owner/repository that runs this project’s suite, then choose Connect repository.
  2. Confirm the project shows Connected alongside the full repository name. For another TestPerch project, make its repository selection in that project’s settings.
  3. Run a pull-request workflow that sends Playwright results to this project. Open the PR and look for the TestPerch summary linking to the run. If you want TestPerch to choose tests for future PRs, enable AI test selection.

If the repository is missing from the list, use Manage GitHub access in workspace settings and check that the installation can access the active, unarchived repository. If results reach TestPerch but no PR summary appears, check the mapped repository, the installation’s pull-request permission, and whether CI reported the pull request’s number and head commit.