Skip to content

Commit

Permalink
ci: Enalbe 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 on
`x86_64` platform under such circumstances.

Signed-off-by: Ruoqing He <[email protected]>
  • Loading branch information
TimePrinciple committed Oct 3, 2024
1 parent 007a406 commit bbe1dec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .buildkite/autogenerate_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bbe1dec

Please sign in to comment.