Skip to content

Commit

Permalink
ci: Enable tests with no platform specified
Browse files Browse the repository at this point in the history
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 <heruoqing@iscas.ac.cn>
  • Loading branch information
TimePrinciple authored and roypat committed Oct 7, 2024
1 parent 007a406 commit 92034f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/autogenerate_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ def build(self, input, platform_allowlist):

for platform in platforms:
# Filter test enabled in platform_allowlist
if platform not in platform_allowlist:
if platform is not None and platform not in platform_allowlist:
# Skip disabled platform
continue

Expand Down

0 comments on commit 92034f0

Please sign in to comment.