Commit f57643d
committed
github/gen-matrix.py: use all-pairs coverage instead of full cartesian
Switch the regular_test matrix from itertools.product to allpairspy's
AllPairs over compiler x standard x mode. With 4 compilers, 2 standards
and 2 modes the regular grid drops from 24 items to 8 while still
exercising every pair of parameter values at least once.
'dev' is no longer crossed against every compiler / standard; it gets
a single one-off entry pinned to clang++-22 / C++23, alongside the
existing DPDK, cxx-modules, and fuzz one-offs.
The script gets a PEP 723 inline-metadata block and a uv shebang
('#!/usr/bin/env -S uv run --script') so it can declare its single
dependency (allpairspy) without polluting a global Python environment.
Runs under Python 3.10 and newer.
tests-matrix.gold is regenerated: 12 jobs total (8 regular + 4 one-offs).1 parent 6e0f3fd commit f57643d
3 files changed
Lines changed: 31 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
2 | 8 | | |
3 | 9 | | |
4 | 10 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | | - | |
| 20 | + | |
12 | 21 | | |
13 | 22 | | |
14 | 23 | | |
15 | | - | |
| 24 | + | |
| 25 | + | |
16 | 26 | | |
17 | 27 | | |
18 | 28 | | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | 33 | | |
| |||
29 | 41 | | |
30 | 42 | | |
31 | 43 | | |
32 | | - | |
| 44 | + | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
| |||
39 | 51 | | |
40 | 52 | | |
41 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
42 | 59 | | |
43 | 60 | | |
44 | 61 | | |
| |||
86 | 103 | | |
87 | 104 | | |
88 | 105 | | |
89 | | - | |
90 | | - | |
| 106 | + | |
| 107 | + | |
91 | 108 | | |
92 | 109 | | |
93 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 3 | | |
8 | | - | |
9 | | - | |
10 | 4 | | |
11 | 5 | | |
12 | 6 | | |
13 | | - | |
14 | 7 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | 8 | | |
20 | | - | |
21 | | - | |
22 | 9 | | |
23 | 10 | | |
24 | | - | |
25 | | - | |
26 | 11 | | |
27 | 12 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | 26 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 27 | | |
43 | | - | |
44 | | - | |
45 | 28 | | |
46 | | - | |
47 | 29 | | |
48 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
49 | 34 | | |
50 | 35 | | |
51 | 36 | | |
| |||
0 commit comments