From de5922393970e7796be6a8b51accce39c7b73dbc Mon Sep 17 00:00:00 2001 From: John Chadwick Date: Thu, 18 Jul 2024 10:53:18 -0400 Subject: [PATCH] Add more protos to breaking change detection --- compatibility/BUILD.bazel | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/compatibility/BUILD.bazel b/compatibility/BUILD.bazel index 2b99b5d84d..7f5b806de1 100644 --- a/compatibility/BUILD.bazel +++ b/compatibility/BUILD.bazel @@ -97,6 +97,27 @@ buf_breaking_test( against = "@com_google_protobuf_previous_release//:wrappers_proto", ) +buf_breaking_test( + name = "compiler_plugin_proto_breaking", + targets = ["//:compiler_plugin_proto"], + config = ":buf.yaml", + against = "@com_google_protobuf_previous_release//:compiler_plugin_proto", +) + +buf_breaking_test( + name = "cpp_features_proto_breaking", + targets = ["//:cpp_features_proto"], + config = ":buf.yaml", + against = "@com_google_protobuf_previous_release//:cpp_features_proto", +) + +buf_breaking_test( + name = "java_features_proto_breaking", + targets = ["//:java_features_proto"], + config = ":buf.yaml", + against = "@com_google_protobuf_previous_release//:java_features_proto", +) + test_suite( name = "proto_breaking", tests = [ @@ -111,5 +132,8 @@ test_suite( "timestamp_proto_breaking", "type_proto_breaking", "wrappers_proto_breaking", + "compiler_plugin_proto_breaking", + "cpp_features_proto_breaking", + "java_features_proto_breaking", ], )