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(
|
2022-07-27 21:37:04 -07:00
|
|
|
size = "large",
|
2022-05-19 12:54:25 -07:00
|
|
|
include = ["*.ipynb"],
|
2022-07-09 19:47:21 -07:00
|
|
|
exclude = [
|
|
|
|
"big_data_ingestion.ipynb",
|
|
|
|
],
|
2022-05-19 12:54:25 -07:00
|
|
|
data = ["//doc/source/data/examples:data_examples"],
|
2022-07-27 21:37:04 -07:00
|
|
|
tags = ["exclusive", "team:ml"]
|
2022-05-19 12:54:25 -07:00
|
|
|
)
|