mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:00:36 +08:00
Package ray java jars into wheels (#6600)
This commit is contained in:
@@ -21,6 +21,12 @@ echo "Linting Java code with checkstyle."
|
||||
# Thus, we add the `build_tests_only` option to avoid re-building everything.
|
||||
bazel test //java:all --test_tag_filters="checkstyle" --build_tests_only
|
||||
|
||||
echo "Build java maven deps."
|
||||
bazel build //java:gen_maven_deps
|
||||
|
||||
echo "Build test jar."
|
||||
bazel build //java:all_tests_deploy.jar
|
||||
|
||||
echo "Running tests under cluster mode."
|
||||
# TODO(hchen): Ideally, we should use the following bazel command to run Java tests. However, if there're skipped tests,
|
||||
# TestNG will exit with code 2. And bazel treats it as test failure.
|
||||
|
||||
Reference in New Issue
Block a user