ray/doc/source/tune/examples/BUILD
Jiao 5315f1e643
[AIR] Enable other notebooks previously marked with # REGRESSION (#26896)
Co-authored-by: Richard Liaw <rliaw@berkeley.edu>
2022-07-25 13:40:21 -07:00

35 lines
985 B
Text

load("//bazel:python.bzl", "py_test_run_all_notebooks")
filegroup(
name = "tune_examples",
srcs = glob(["*.ipynb"]),
visibility = ["//doc:__subpackages__"]
)
# --------------------------------------------------------------------
# Test all doc/source/tune/examples notebooks.
# --------------------------------------------------------------------
# pbt_ppo_example.ipynb is not tested right now due to large resource
# requirements
py_test_run_all_notebooks(
size = "medium",
include = ["*.ipynb"],
exclude = [
"pbt_ppo_example.ipynb",
"tune-xgboost.ipynb",
"sigopt_example.ipynb", # REGRESSION: no credentials
],
data = ["//doc/source/tune/examples:tune_examples"],
tags = ["exclusive", "team:ml"],
)
# GPU tests
py_test_run_all_notebooks(
size = "large",
include = ["tune-xgboost.ipynb"],
exclude = [],
data = ["//doc/source/tune/examples:tune_examples"],
tags = ["exclusive", "team:ml", "gpu"],
)