Skip to content

Commit cc31e62

Browse files
committed
Restore original test matrix to preserve required check names
1 parent ae5074f commit cc31e62

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/scripts/matrices.py

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,32 @@ def __init__(
7676

7777
config = [
7878
Case(
79-
name="all",
80-
filter="!test(/\\bext_integration|polkadot_localnode/)",
81-
n_partitions=2,
79+
name="unit",
80+
filter="!kind(test)",
81+
n_partitions=1,
82+
pr_cross_platform=True,
83+
),
84+
Case(
85+
name="integration",
86+
filter="kind(test) & !test(/\\b(issue|ext_integration)|polkadot_localnode/)",
87+
n_partitions=3,
8288
pr_cross_platform=True,
8389
),
8490
Case(
85-
name="external",
91+
name="integration / issue-repros",
92+
filter="package(=forge) & test(/\\bissue/)",
93+
n_partitions=2,
94+
pr_cross_platform=False,
95+
),
96+
Case(
97+
name="integration / external",
8698
filter="package(=forge) & test(/\\bext_integration/)",
87-
n_partitions=1,
99+
n_partitions=2,
88100
pr_cross_platform=False,
89101
),
90102
# TODO: run the local node tests on polkadot-anvil
91103
# Case(
92-
# name="polkadot_localnode",
104+
# name="integration / polkadot_localnode",
93105
# filter="(package(=cast) | package(=forge)) & test(/polkadot_localnode/)",
94106
# n_partitions=1,
95107
# pr_cross_platform=False,

0 commit comments

Comments
 (0)