mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 19:00:36 +08:00
[JavaWorker] Java code lint check and binding to CI (#2225)
* add java code lint check and fix the java code lint error * add java doc lint check and fix the java doc lint error * add java code and doc lint to the CI
This commit is contained in:
committed by
Philipp Moritz
parent
5789a247f9
commit
3b5e700fd7
+6
-1
@@ -7,5 +7,10 @@ mvn clean install -pl plasma -am -Dmaven.test.skip
|
||||
popd
|
||||
pushd $ROOT_DIR/../java
|
||||
mvn clean install -Dmaven.test.skip
|
||||
mvn test
|
||||
check_style=$(mvn checkstyle:check)
|
||||
echo "${check_style}"
|
||||
[[ ${check_style} =~ "BUILD FAILURE" ]] && exit 1
|
||||
mvn_test=$(mvn test)
|
||||
echo "${mvn_test}"
|
||||
[[ ${mvn_test} =~ "BUILD SUCCESS" ]] || exit 1
|
||||
popd
|
||||
Reference in New Issue
Block a user