Skip to content

Commit ca26ce7

Browse files
aslonnieharshit-anyscale
authored andcommitted
[release test] let custom byod tests only depend on the binary file (#57663)
also fixes typo in build file Signed-off-by: Lonnie Liu <lonnie@anyscale.com>
1 parent de58a4c commit ca26ce7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

release/BUILD.bazel

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -533,8 +533,7 @@ py_test(
533533
"team:ci",
534534
],
535535
deps = [
536-
"custom_byod_build_lib",
537-
":ray_release",
536+
":custom_byod_build_lib",
538537
bk_require("pytest"),
539538
],
540539
)
@@ -574,7 +573,6 @@ py_test(
574573
],
575574
deps = [
576575
":custom_image_build_and_test_init_lib",
577-
":ray_release",
578576
bk_require("pytest"),
579577
],
580578
)

release/ray_release/tests/test_custom_byod_build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from unittest.mock import patch
44

55
from click.testing import CliRunner
6+
67
from ray_release.scripts.custom_byod_build import main
78

89

release/ray_release/tests/test_custom_image_build_and_test_init.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from unittest.mock import patch
77

88
from click.testing import CliRunner
9+
910
from ray_release.scripts.custom_image_build_and_test_init import main
1011

1112
_bazel_workspace_dir = os.environ.get("BUILD_WORKSPACE_DIRECTORY", "")

0 commit comments

Comments
 (0)