2022-05-19 12:54:25 -07:00
|
|
|
load("//bazel:python.bzl", "py_test_run_all_notebooks")
|
|
|
|
|
2022-02-19 10:19:07 +01:00
|
|
|
filegroup(
|
|
|
|
name = "data_examples",
|
|
|
|
srcs = glob(["*.ipynb"]),
|
|
|
|
visibility = ["//doc:__subpackages__"]
|
2022-05-19 12:54:25 -07:00
|
|
|
)
|
|
|
|
|
|
|
|
# --------------------------------------------------------------------
|
|
|
|
# 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"],
|
|
|
|
data = ["//doc/source/data/examples:data_examples"],
|
|
|
|
tags = ["exclusive", "team:ml"],
|
|
|
|
)
|