Open backupaccount0 opened 1 year ago
bazel test ... WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). ERROR: The 'test' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace
bazel test ... WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). ERROR: The 'test' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace
I have the same problem remaining unsolved...
bazel test ... WARNING: Invoking Bazel in batch mode since it is not invoked from within a workspace (below a directory having a WORKSPACE file). ERROR: The 'test' command is only supported from within a workspace (below a directory having a WORKSPACE file). See documentation at https://docs.bazel.build/versions/main/build-ref.html#workspace
I use “type nul > WORKSPACE” to solve this problem.But another problem appeared. ERROR: no targets found beneath '' INFO: Elapsed time: 0.064s INFO: 0 processes. ERROR: Build did NOT complete successfully ERROR: Couldn't start the build. Unable to run tests
Hi, thanks for your excellent work and open source it!
I am new to bazel and have some trouble running the command:
bazel test ...
Is is possible for you to upload the bazel BUILD file or anyelse do I need to run the bazel related command?