ray/doc/source/data/examples/BUILD
Philipp Moritz 081bbfbff1
[Examples] Test OCR example in documentation tests (#26482)
Make sure the OCR example is tested in documentation after we discovered that example notebooks are not tested in CI.

Signed-off-by: Philipp Moritz <pcmoritz@gmail.com>
2022-07-16 10:51:28 -07:00

26 lines
808 B
Text

load("//bazel:python.bzl", "py_test_run_all_notebooks")
filegroup(
name = "data_examples",
srcs = glob(["*.ipynb"]),
visibility = ["//doc:__subpackages__"]
)
# --------------------------------------------------------------------
# Test all doc/source/data/examples notebooks.
# --------------------------------------------------------------------
# big_data_ingestion.ipynb is not tested right now due to large resource requirements
# and a need of a general overhaul.
py_test_run_all_notebooks(
size = "medium",
include = ["*.ipynb"],
exclude = [
"big_data_ingestion.ipynb",
"nyc_taxi_basic_processing.ipynb", # REGRESSION
],
data = ["//doc/source/data/examples:data_examples"],
tags = ["exclusive", "team:ml"],
allow_empty = True # REGRESSION
)