source/projects/yamlschema/BUILD

20 lines
333 B
Python
Raw Normal View History

2021-05-14 17:55:28 +00:00
py_library(
2021-05-15 04:41:00 +00:00
name="yamlschema",
2021-05-17 20:38:13 +00:00
srcs=glob(["src/python/**/*.py"]),
2021-05-15 04:41:00 +00:00
imports=[
2021-05-17 20:38:13 +00:00
"src/python",
2021-05-14 17:55:28 +00:00
],
2021-05-15 04:41:00 +00:00
deps=[
2021-05-14 17:55:28 +00:00
py_requirement("PyYAML"),
2021-05-15 04:41:00 +00:00
],
)
py_pytest(
name="test_yamlschema",
2021-05-17 20:38:13 +00:00
srcs=glob(["test/python/test_*.py"]),
2021-05-15 04:41:00 +00:00
data=glob(["*.json", "*.yaml"]),
deps=[
":yamlschema",
],
2021-05-14 17:55:28 +00:00
)