Skip to content

Commit 3820af5

Browse files
committed
Add warning explaining modules with no coverage
- Modules that have no coverage at all are simply not included in the HTML reports generated by HPC. - Add a warning to the project coverage report index page so users are aware of this limitation of HPC.
1 parent 4aa1063 commit 3820af5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/cover-project.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ let
2424
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
2525
</head>
2626
<body>
27+
<div>
28+
WARNING: Modules with no coverage are not included in any of these reports, this is just how HPC works under the hood.
29+
</div>
2730
<div>
2831
<h2>Union Report</h2>
2932
<p>The following report shows how each module is covered by any test in the project:</p>

0 commit comments

Comments
 (0)