Skip to content

Commit

Permalink
Add oncall at BUCK file level based on oncall/contacts label in targets
Browse files Browse the repository at this point in the history
Reviewed By: steelrooter

Differential Revision: D55726473

fbshipit-source-id: ca135d230fa2bb4221de94722ac417c3a0c87081
  • Loading branch information
generatedunixname89002005287564 authored and facebook-github-bot committed Apr 4, 2024
1 parent 7d013e9 commit 8f56b09
Show file tree
Hide file tree
Showing 31 changed files with 62 additions and 0 deletions.
2 changes: 2 additions & 0 deletions litho-core/src/test/kotlin/com/facebook/litho/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "litho",
srcs = glob(
Expand Down
2 changes: 2 additions & 0 deletions litho-core/src/test/kotlin/com/facebook/litho/animated/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "animated",
srcs = glob(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "litho-coroutines-kotlin",
srcs = glob(["**/*.kt"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ load(
"litho_robolectric4_test",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "flipper",
srcs = glob(["**/*.kt"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

instrumentation_test(
name = "espresso",
srcs = glob(["*Test.java"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

instrumentation_test(
name = "treeprops",
srcs = glob(["*Test.java"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

instrumentation_test(
name = "tti",
srcs = glob(["*Test.java"]),
Expand Down
2 changes: 2 additions & 0 deletions litho-intellij-plugin/src/test/java/com/facebook/litho/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "test",
# TODO: T58412963 enable intelliJ tests
Expand Down
2 changes: 2 additions & 0 deletions litho-it-powermock/src/test/java/com/facebook/litho/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_powermock_test(
name = "litho",
srcs = glob(["*.java"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "viewtree",
srcs = glob(["*Test.java"]),
Expand Down
2 changes: 2 additions & 0 deletions litho-it-spec/src/test/java/com/facebook/litho/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "litho",
srcs = glob([
Expand Down
2 changes: 2 additions & 0 deletions litho-it/src/test/java/com/facebook/litho/animation/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "animation",
srcs = glob(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "integration",
srcs = glob(["*Test.java"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "sections",
# T41117446 Enable them after switching target to AndroidX
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "processor",
srcs = glob(["*.java"]),
Expand Down
2 changes: 2 additions & 0 deletions litho-it/src/test/java/com/facebook/litho/specmodels/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

litho_robolectric4_test(
name = "specmodels",
srcs = glob(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "processor",
srcs = glob(["*.java"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "testing",
srcs = glob(["*Test.java"]),
Expand Down
2 changes: 2 additions & 0 deletions litho-it/src/test/java/com/facebook/litho/testing/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "testing",
srcs = glob([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "assertj",
srcs = glob(["*Test.java"]),
Expand Down
2 changes: 2 additions & 0 deletions litho-it/src/test/java/com/facebook/litho/testing/helper/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "helper",
srcs = glob([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

litho_robolectric4_test(
name = "testing",
srcs = glob(["*Test.java"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "viewtree",
srcs = glob(["*Test.java"]),
Expand Down
2 changes: 2 additions & 0 deletions litho-live-data/src/test/kotlin/com/facebook/litho/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "litho",
srcs = glob(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "processor",
srcs = glob(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ load(
"make_dep_path",
)

oncall("litho_components_for_android")

fb_java_test(
name = "processor",
srcs = glob(
Expand Down
2 changes: 2 additions & 0 deletions litho-testing/src/test/java/com/facebook/litho/testing/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "testing",
srcs = glob([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "api",
srcs = glob(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "widget",
srcs = glob(["*.kt"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "collection",
srcs = glob(["**/*.kt"]),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ load(
"make_dep_path",
)

oncall("components_for_android")

litho_robolectric4_test(
name = "modules",
srcs = glob(["**/*Test.java"]),
Expand Down

0 comments on commit 8f56b09

Please sign in to comment.