Skip to content

Commit

Permalink
feat(build_gen): add service_yaml to java_gapic_library (#45)
Browse files Browse the repository at this point in the history
Co-authored-by: Mira Leung <miraleung@users.noreply.github.com>
  • Loading branch information
noahdietz and miraleung committed Jun 22, 2021
1 parent ebad892 commit 7db0098
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: bazel build //bazel:build_file_generator

- name: Run generated tests
run: bazel test '//bazel:*'
run: bazel test --test_output=errors '//bazel:*'

- name: Show test output
run: cat bazel-out/*/testlogs/bazel/build_file_generator_test/test.log
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ java_gapic_library(
name = "{{name}}_java_gapic",
srcs = [":{{name}}_proto_with_info"],
grpc_service_config = {{grpc_service_config}},
service_yaml = "{{service_yaml}}",
test_deps = [
":{{name}}_java_grpc",{{java_gapic_test_deps}}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ java_gapic_library(
name = "library_java_gapic",
srcs = [":library_proto_with_info"],
grpc_service_config = "library_example_grpc_service_config.json",
service_yaml = "//google/example/library:library_example_v1.yaml",
test_deps = [
":library_java_grpc",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ java_gapic_library(
name = "library_java_gapic",
srcs = [":library_proto_with_info"],
grpc_service_config = "library_example_grpc_service_config.json",
service_yaml = "//google/example/library:library_example_v1.yaml",
test_deps = [
":library_java_grpc",
],
Expand Down

0 comments on commit 7db0098

Please sign in to comment.