Is connecting GitHub required?
Strictly speaking, no β you can test any app by uploading builds manually through the CLI. But skipping the GitHub connection means giving up a lot of what makes miniTest useful:- Automatic suite generation and maintenance from your codebase.
- Automatic builds on CI-triggered runs (see Providing app builds).
- Mini showing up on your PRs to tell you whether you can ship.
Install
Workspace settings β Integrations β GitHub β Install. The flow opens GitHubβs App install screen β pick the org and either grant All repositories or Only selected repositories.
What you see on a PR
Mini only posts on PRs that target your appβs default branch (usually
main) or a branch that matches your configured release branch patterns. Monorepo apps also require at least one changed file under the appβs source folder.The sticky comment
Mini posts one comment per PR. It introduces itself, lists every affected app with a Run tests checkbox, and waits for you to act β it never kicks off a run on its own. Ticking a checkbox (or posting@mini test <slug> as a PR comment) fires a run. The comment edits in place as the run progresses, and when it finishes it becomes a full report: per-platform verdict, Critical and Warning buckets with expandable story cards, and a link back to the dashboard for the full timeline and video.
If you change the PR after the comment was posted β push a new commit, add an app β Mini edits the comment to match. No thread spam, no second comment.
The check run
Every CI-triggered run also posts a GitHub check on the PR:- States: queued β in progress β completed (success / failure / neutral).
- Cancel and Bypass buttons are available during the run and on terminal failures.
block_on_test_failures in your workspace settings, then add the check to GitHub β Settings β Branches β Branch protection rules β Require status checks.
Triggering a run from a PR
Three paths, all producing the same run report:1. The CI Action (recommended)
Why this path. You control exactly when a run fires β on every push, only on PRs, on
release-* tags, or any combination you want. You own the workflow file, so you decide the trigger conditions.minitap-ai/minitest-trigger@v1 to your .github/workflows/*.yml:
Choosing what to run
By default the Action is smart about scope: on a git tag matching your appβs tag pattern (set in App Settings β Maintenance & CI underci_tag_pattern), it runs only the user stories affected since the previous matching tag. On any other event, it runs the whole suite. You override that with two inputs.
Run everything on every push:
scope empty is fine: with a tag pattern set, a matching tag runs the affected set and everything else runs the full suite.
2. The PR comment checkbox
Ticking the Run tests checkbox in Miniβs sticky comment fires a run for that app. No workflow file, no setup β the GitHub App handles the dispatch. Use this when youβre reviewing and want to confirm a fix without waiting for CI.3. The /test slash command
Post @mini test <app-slug> on the PR and Mini does the same thing as the checkbox. Works in the same comment or in any top-level PR comment.
When Mini shows up
Mini decides whether to post a sticky comment on a PR using two rules β both configurable per app:Default branch
PRs targeting your appβs default branch (typically
main) always get a comment for that app. This is the source branch you set when connecting the app to a repo.Release branch patterns
You can define gitignore-style patterns in App Settings β Maintenance & CI under
release_branch_patterns. PRs targeting a branch that matches any pattern (e.g. release/*) get a comment even if the default branch is different.Triggering from a tag
Set a tag pattern in App Settings β Maintenance & CI underci_tag_pattern (e.g. release-*), then run the CI Action on tag pushes. When the pushed tag matches, Mini runs only the user stories affected since the previous matching tag instead of the whole suite β a fast release gate for tags like release-1.2.0. The tag pattern only takes effect through the CI Action; with no Action on tag pushes, nothing fires.
Connecting an app to a repo
In each appβs Settings β Source, point at:- Repo (
owner/name) β auto-completes from the repos the App can see. - Branch β the default branch. Determines which PRs get a sticky comment (see When Mini shows up) and the base for tag-triggered runs.
- Source folder (optional) β subfolder for monorepos. See Providing app builds.
Removing the App
GitHub β Settings β Applications β MiniTest β Configure β Uninstall. miniTest will keep run history and configuration, but builds and PR checks will stop. Reinstalling restores everything.
