mongo/buildscripts/tests/BUILD.bazel
Daniel Moody fc6c183e2d SERVER-122303 Move copybara syncs to master (#50337)
GitOrigin-RevId: d2045870869e65f9c864106f9351cb3e3a0db823
2026-05-04 16:00:45 +00:00

43 lines
1.1 KiB
Python

load("@poetry//:dependencies.bzl", "dependency")
load("//bazel:mongo_script_rules.bzl", "mongo_toolchain_py_cxx_test")
load("@rules_python//python:defs.bzl", "py_library", "py_test")
mongo_toolchain_py_cxx_test(
name = "test_clang_tidy",
srcs = [
"test_clang_tidy.py",
],
main = "test_clang_tidy.py",
visibility = ["//visibility:public"],
deps = [
"//buildscripts:clang_tidy_lib",
"//buildscripts:mongo_toolchain",
dependency(
"pyyaml",
group = "core",
),
],
)
py_test(
name = "test_sync_repo_with_copybara",
srcs = [
"test_sync_repo_with_copybara.py",
],
data = [
"//buildscripts/copybara:copybara_config_files",
"//etc:evergreen_yml_components/copybara/copybara_gen.yml",
],
visibility = ["//visibility:public"],
deps = [
"//buildscripts/copybara",
],
)
# TODO(SERVER-105817): The following library is autogenerated, please split these out into individual python targets
py_library(
name = "all_python_files",
srcs = glob(["*.py"]),
visibility = ["//visibility:public"],
)