Closed thesayyn closed 1 year ago
I don't mind if some tests are omitted at this level of granularity. Also the code is copied from builtin proto_common.bzl, and already tested there on a slightly bigger granularity (i.e there are tests for proto_library/proto_lang_toolchain/java_proto_library)
hmm, I agree but I still believe we should test this repo with the incompatible flag to be safe even if it's not this granular.
@comius I propose adding a new test target to bazelci here that tests the incompatible flag against a prerelease of bazel. i can make that a follow-up
@comius PTAL. this is ready.
This is not final yet, I just want to test out with rules_python first. Welcome to review though.
Also due to https://github.com/bazelbuild/bazel/issues/20297 i can't write unit tests for the incompatible flag. I'll look for a workaround.