e9eb5e6a

By: Tom Sydney Kerckhove <syd@cs-syd.eu>

Add coverage threshold and requireCoverage checks

Add assertCoverageThreshold and requireCoverage as standalone nix
functions, and wire them into makeCoverageReport as optional arguments
(threshold and mustCover). mustCover defaults to true so that builds
fail when no expressions are covered at all, catching accidentally
disabled tests.

Suite timing

Time to Start Worker time Duration Time to finish
Config 10s 34s 34s 45s
Eval 45s 55s 55s 1m41s
Build 1m13s 4m04s 1m16s 2m29s
Test - - - -
Deploy - - - -
Suite 10s 5m35s 2m18s 2m29s

Timeline

0s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s2m2m10s2m20s