helpers/mkReport
Generate the report package for the derivation checks in a check set.
Takes checks in the same shape as resultChecks.checks —
flat derivations, suites, and eval checks —
and reports on the derivation half.
Eval checks are not derivations;
they are covered by mkEvalChecks instead.
Type
mkReport :: AttrSet -> Derivation
Arguments
- checks
- Attribute set of checks.
Flat:
name = drv. Suite:name = { checkName = drv; ... }. Eval checks are ignored.
Example
mkReport {
my-test = mkResult "my-test" "exit 0";
db.schema = mkResult "db-schema" "exit 0";
}