mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00

* Revert "Revert "Bump pytest from 5.4.3 to 7.0.1""
This reverts commit ab10890e90
.
Signed-off-by: Riatre Foo <foo@riat.re>
* Fix missing test data files dependency in rllib/BUILD
See # 26334 and # 26517 for context.
Once this is in, it should be good to roll-forwrad again.
Signed-off-by: Riatre Foo <foo@riat.re>
* debug: run all tests
Signed-off-by: Riatre Foo <foo@riat.re>
* Revert "debug: run all tests"
This reverts commit 0c5e796b0eb437d64922f66749c61b0412486970.
Signed-off-by: Riatre Foo <foo@riat.re>
* fix new tests since last rebase
Signed-off-by: Riatre Foo <foo@riat.re>
62 lines
1.5 KiB
Text
62 lines
1.5 KiB
Text
load("//bazel:python.bzl", "py_test_run_all_subdirectory")
|
|
|
|
# This is a dummy test dependency that causes the above tests to be
|
|
# re-run if any of these files changes.
|
|
py_library(
|
|
name = "dashboard_lib",
|
|
srcs = glob(
|
|
["**/*.py"],
|
|
exclude = ["tests/*"],
|
|
),
|
|
)
|
|
|
|
py_library(
|
|
name = "conftest",
|
|
srcs = ["tests/conftest.py"],
|
|
deps = ["//python/ray/tests:conftest"],
|
|
)
|
|
|
|
py_test_run_all_subdirectory(
|
|
size = "medium",
|
|
include = ["**/test*.py"],
|
|
exclude = [
|
|
"modules/test/**",
|
|
"modules/node/tests/test_node.py",
|
|
"tests/test_dashboard.py",
|
|
"tests/test_state_head.py"
|
|
],
|
|
extra_srcs = [],
|
|
data = [
|
|
"modules/job/tests/backwards_compatibility_scripts/test_backwards_compatibility.sh",
|
|
"modules/job/tests/pip_install_test-0.5-py3-none-any.whl",
|
|
"modules/snapshot/snapshot_schema.json",
|
|
"modules/tests/test_config_files/basic_runtime_env.yaml",
|
|
] + glob([
|
|
"modules/job/tests/subprocess_driver_scripts/*.py",
|
|
]),
|
|
deps = [":conftest"],
|
|
tags = ["exclusive", "team:serve"],
|
|
)
|
|
|
|
py_test(
|
|
name = "test_node",
|
|
size = "medium",
|
|
srcs = ["modules/node/tests/test_node.py"],
|
|
deps = [":conftest"],
|
|
tags = ["exclusive", "team:serve"],
|
|
)
|
|
|
|
py_test(
|
|
name = "test_dashboard",
|
|
size = "medium",
|
|
srcs = ["tests/test_dashboard.py"],
|
|
deps = [":conftest"],
|
|
tags = ["exclusive", "team:serve"],
|
|
)
|
|
|
|
py_test(
|
|
name = "test_state_head",
|
|
size = "small",
|
|
srcs = ["tests/test_state_head.py"],
|
|
tags = ["team:core"],
|
|
)
|