mirror of
https://github.com/karma-riuk/crab.git
synced 2025-07-05 05:28:13 +02:00
fixed mistake due to copy-paste
This commit is contained in:
@ -146,9 +146,9 @@ def compile_repo(build_file: str, container, updates: dict) -> bool:
|
||||
|
||||
def test_repo(build_file: str, container, updates: dict) -> bool:
|
||||
if build_file.endswith("pom.xml") or build_file.endswith("build.xml"):
|
||||
test_cmd = "mvn clean compile"
|
||||
test_cmd = "mvn test"
|
||||
elif build_file.endswith("build.gradle"):
|
||||
test_cmd = "gradle compileJava"
|
||||
test_cmd = "gradle test"
|
||||
else:
|
||||
updates["error_msg"] = "Unsupported build system for testing: " + build_file
|
||||
return False
|
||||
|
Reference in New Issue
Block a user