-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
groovy_test sources must be under src/test/java or src/test/groovy #51
Comments
I ran into this issue as well. It also requires the src/main/groovy and src/test/groovy under the same directory as WORKSPACE. This doesn't work for monorepos with multiple projects. For example, if I my groovy project is in another project directory with its BUILD file, it complains with a failure.
This directory structure is not allowed. |
👋 I'm running into this issue in a monorepo for shared Jenkins libraries as well. My desired directory structure for ref:
Happy to send a patch supporting the cases described in this issue. @ekuefler @nlopezgi @philwo Would one of y'all be available to review, or can you route me to a Bazel test/infra PM? Thank you! |
I am facing this issue as well, my project structure is as follows, is there any update on this issue ?
|
I met this error message when I add a target without in
src/test/groovy
folder, because of I may have another folder namedsrc/integration/groovy
or evengroovytests
folder.I think it may be a too strict constraint for a common language build rule, at least support modifying the groovy source root for the groovy_test targets may help.
My project structure:
The text was updated successfully, but these errors were encountered: