Bazel: Unresolved reference #4367
-
I'm working on #4006 . This is the error that the CI gives: https://github.com/oppia/oppia-android/runs/6343605385?check_suite_focus=true For these tests, there isn't any build.bazel file in the respective package that i could edit. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I'm facing a similar problem in #4002 |
Beta Was this translation helpful? Give feedback.
-
Hi @JishnuGoyal. For tests that don't have a dedicated BUILD.bazel file in their immediate directory, you'll need to update their shared Line 852 in 7d31a49 |
Beta Was this translation helpful? Give feedback.
Hi @JishnuGoyal.
For tests that don't have a dedicated BUILD.bazel file in their immediate directory, you'll need to update their shared
TEST_DEPS
list located in the top-level BUILD.bazel file of their module (e.g. 'app'). For example, since all three of the tests you listed don't have their own test targets defined, new dependencies need to be added here:oppia-android/app/BUILD.bazel
Line 852 in 7d31a49