Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ci] Re-enable Windows test on premerge #42726

Merged
merged 6 commits into from
Jan 26, 2024
Merged

[ci] Re-enable Windows test on premerge #42726

merged 6 commits into from
Jan 26, 2024

Conversation

khluu
Copy link
Contributor

@khluu khluu commented Jan 26, 2024

Why are these changes needed?

  • These tests were added a condition to only run when there's the continuous build flag on, which also disables it on premerge.

Changes

  • I have added an extra condition to have these tests run if the buildkite pipeline is premerge.

Checks

  • This PR premerge check shows that the Windows tests are showing up.

@khluu khluu marked this pull request as ready for review January 26, 2024 01:31
@@ -71,7 +71,7 @@ steps:
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,container,manual

- label: ":ray: core: :windows: python tests"
if: build.env("RAYCI_CONTINUOUS_BUILD") == "1" || build.pull_request.labels includes "continuous-build"
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("RAYCI_CONTINUOUS_BUILD") == "1" || build.pull_request.labels includes "continuous-build"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove || build.pull_request.labels includes "continuous-build" ? if it is a PR, it now runs on premerge and will always run?

@@ -71,7 +71,7 @@ steps:
--except-tags debug_tests,asan_tests,post_wheel_build,ha_integration,mem_pressure,tmpfs,container,manual

- label: ":ray: core: :windows: python tests"
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("RAYCI_CONTINUOUS_BUILD") == "1" || build.pull_request.labels includes "continuous-build"
if: build.env("BUILDKITE_PIPELINE_ID") == "0189942e-0876-4b8f-80a4-617f988ec59b" || build.env("RAYCI_CONTINUOUS_BUILD") == "1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rather than using build.env("BUILDKITE_PIPELINE_ID"), just use pipeline.id ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I've updated them all to use pipeline.id. Will merge the PR after the tests run.

@aslonnie aslonnie merged commit 726c55f into master Jan 26, 2024
9 checks passed
@aslonnie aslonnie deleted the window_test_premerge branch January 26, 2024 10:22
khluu added a commit that referenced this pull request Jan 27, 2024
These tests were added a condition to only run when there's the continuous build flag on, which also disables it on premerge.

Signed-off-by: khluu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants