We use analytics and marketing cookies to understand how Grip OS is discovered and used. No data leaves your device without consent. Cookie Policy

All Recipes

Test Coverage Report

Executes test suites via fleet batch on designated machines, collects coverage metrics, and produces a unified report with per-package breakdowns. Trigger after merges or PRs to enforce coverage thresholds automatically.

advanced
Event-Triggered
1 step
5 minutes

Steps

1

Run tests with coverage collection

fleet_batch_execute via gripos-mcp

Recipe JSON

{"trigger":"pr_merge","steps":[{"tool":"fleet_batch_execute","args":{"command":"npm test -- --coverage --json"},"output_as":"test_results"}],"thresholds":{"lines":80,"branches":70},"notify":{"on":"below_threshold","channel":"github-comment"}}

Prerequisites

  • Test suites configured with coverage support

Run this recipe in Grip OS

Copy the JSON above, paste it into your Grip OS config, and it runs on schedule or on demand.