From bbe1dec9e62a8081b7ca8eb9c076a32cd63ace2e Mon Sep 17 00:00:00 2001 From: Ruoqing He Date: Thu, 3 Oct 2024 05:18:34 +0000 Subject: [PATCH] ci: Enalbe 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 on `x86_64` platform under such circumstances. Signed-off-by: Ruoqing He --- .buildkite/autogenerate_pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.buildkite/autogenerate_pipeline.py b/.buildkite/autogenerate_pipeline.py index ee28b24..c9d1fab 100755 --- a/.buildkite/autogenerate_pipeline.py +++ b/.buildkite/autogenerate_pipeline.py @@ -321,10 +321,10 @@ def build(self, input, platform_allowlist): if test_name in tests_to_skip: continue - # The platform is optional. When it is not specified, we don't add - # it to the step so that we can run the test in any environment. + # The platform is optional. When it is not specified, it defaults + # to `x86_64` to get checked against `platform_allowlist`. if not platforms: - platforms = [None] + platforms = ["x86_64"] for platform in platforms: # Filter test enabled in platform_allowlist