Partial builds

👍

Covered in this doc

How and why to use Partial Builds if you don't do a full test run on every CI build.

If you're running a build without a full set of snapshots, you may want to use PERCY_PARTIAL_BUILD to avoid seeing the missing snapshots dialog box.

Things to keep in mind

  • Partial builds should only be used for feature branches. Your default base branch (usually master) should always be full builds, to make sure all baseline snapshots are present in the master builds.
  • The partial environment variable will result in a 'partial' title showing in the build so you know it's a partial build.

Implementation

Set the PERCY_PARTIAL_BUILD environment variable to 1 to indicate the build is a partial build, and that it intentionally will be a subset of the snapshots from a full build.