We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f79589 commit cd8118fCopy full SHA for cd8118f
lib/cover-project.nix
@@ -3,6 +3,19 @@
3
project:
4
5
let
6
+
7
+ # Create table rows for an project coverage index page that look something like:
8
+ #
9
+ # | Package | TestSuite |
10
+ # |------------------+-----------|
11
+ # | cardano-shell | test-1 |
12
+ # | | test-2 |
13
+ # | cardano-launcher | test-1 |
14
15
16
+ # The logic is a little complex to ensure that only the first test
17
+ # is listed alongside the package, the second test is accompanied by
18
+ # a blank 'Package' entry.
19
packageTableRows = package: with lib;
20
21
testsOnly = filterAttrs (n: d: isDerivation d) package.components.tests;
0 commit comments