Skip to main content
Run the full verification gate across the packages and modules of your workspace. It installs, builds, and then measures test coverage and lints the sources, reporting both as a single gate result.

Usage

Examples

Run the gate across the whole workspace:
Scope the gate to specific modules and packages:
Require every module to reach 80% line and function coverage:
Fail on every module under the threshold, not just on broken suites:
Stream plain logs instead of the interactive view (for CI):

Options

Execution

The gate runs in three stages:
1

Install

Dependencies are installed first, so the later stages run against a resolved workspace. This is install without its audit.
2

Build

Every target is built in workspace dependency order. This is build. If the build fails, the gate stops here.
3

Coverage and lint, together

Coverage and lint touch disjoint parts of the workspace, so they run at the same time: coverage draws the live loader while lint runs quietly beside it. Their results are printed as one report rather than two.
The command exits with code 1 if coverage fails or lint does not pass.
Unlike workspace:run, workspace:check takes no --commands option — the stages are fixed.

Caching

Each stage reuses the cache of the command it runs, under var/cache/workspace. Pass --no-cache to force every stage to re-run.