mirror of
https://github.com/vale981/ray
synced 2025-03-11 05:46:37 -04:00

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>
26 lines
808 B
Text
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
|
|
)
|