mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
Running `bazel test //...` reported: ``` Test execution time outside of range for MODERATE tests. Consider setting timeout="short" or size="small". ``` This change adds size="small" to avoid such warnings being reported. --------- Co-authored-by: Chandler Carruth <chandlerc@gmail.com>
36 lines
880 B
Python
36 lines
880 B
Python
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
load("@py_deps//:requirements.bzl", "requirement")
|
|
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
|
|
|
|
py_library(
|
|
name = "github_helpers",
|
|
srcs = ["github_helpers.py"],
|
|
deps = [requirement("gql")],
|
|
)
|
|
|
|
py_test(
|
|
name = "github_helpers_test",
|
|
size = "small",
|
|
srcs = ["github_helpers_test.py"],
|
|
python_version = "PY3",
|
|
deps = [":github_helpers"],
|
|
)
|
|
|
|
py_binary(
|
|
name = "pr_comments",
|
|
srcs = ["pr_comments.py"],
|
|
python_version = "PY3",
|
|
deps = ["github_helpers"],
|
|
)
|
|
|
|
py_test(
|
|
name = "pr_comments_test",
|
|
size = "small",
|
|
srcs = ["pr_comments_test.py"],
|
|
python_version = "PY3",
|
|
deps = [":pr_comments"],
|
|
)
|