Skip to content

Commit 92034f0

Browse files
RuoqingHeroypat
authored andcommitted
ci: Enable tests with no platform specified
After `.platform` mechanism was introduced in #159, it silently filters out tests with no `platform` specified. Enable them to execute by adding `platform is not None` predicate preceeds allowlist check. Signed-off-by: Ruoqing He <[email protected]>
1 parent 007a406 commit 92034f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/autogenerate_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def build(self, input, platform_allowlist):
328328

329329
for platform in platforms:
330330
# Filter test enabled in platform_allowlist
331-
if platform not in platform_allowlist:
331+
if platform is not None and platform not in platform_allowlist:
332332
# Skip disabled platform
333333
continue
334334

0 commit comments

Comments
 (0)