[KYUUBI #756] [INFRA] Recover CODECOV
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html 2. If the PR is related to an issue in https://github.com/NetEase/kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'. 3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'. --> ### _Why are the changes needed?_ <!-- Please clarify why the changes are needed. For instance, 1. If you add a feature, you can talk about the use case of it. 2. If you fix a bug, you can clarify why it is a bug. --> ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/tools/testing.html#running-tests) locally before make a pull request Closes #756 from pan3793/codecov. Closes #756 0fc8a6dc [Cheng Pan] nit 52fc82d5 [Cheng Pan] MAVEN_OPTS 20bac836 [Cheng Pan] try recover codecov Authored-by: Cheng Pan <379377944@qq.com> Signed-off-by: Cheng Pan <379377944@qq.com>
This commit is contained in:
parent
5c5d43b126
commit
a8db49abb8
@ -21,6 +21,8 @@
|
||||
_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
# Preserve the calling directory
|
||||
_CALLING_DIR="$(pwd)"
|
||||
# Options used during compilation
|
||||
_COMPILE_JVM_OPTS="-Xms2g -Xmx2g -Xss8m -XX:ReservedCodeCacheSize=512m"
|
||||
|
||||
if [ "$CI" ]; then
|
||||
export MAVEN_CLI_OPTS="--batch-mode --no-transfer-progress --errors --fail-fast"
|
||||
@ -108,5 +110,9 @@ install_scala
|
||||
install_mvn
|
||||
|
||||
cd "${_CALLING_DIR}"
|
||||
|
||||
# Set any `mvn` options if not already present
|
||||
export MAVEN_OPTS=${MAVEN_OPTS:-"$_COMPILE_JVM_OPTS"}
|
||||
|
||||
echo "Using \`mvn\` from path: $MVN_BIN" 1>&2
|
||||
${MVN_BIN} $MAVEN_CLI_OPTS "$@"
|
||||
|
||||
1
pom.xml
1
pom.xml
@ -1315,7 +1315,6 @@
|
||||
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
||||
<junitxml>.</junitxml>
|
||||
<filereports>TestSuite.txt</filereports>
|
||||
<argLine>-Xmx2g -Xms2g -Xss8m -XX:ReservedCodeCacheSize=512M</argLine>
|
||||
<environmentVariables>
|
||||
<KYUUBI_WORK_DIR_ROOT>${project.build.directory}/work</KYUUBI_WORK_DIR_ROOT>
|
||||
</environmentVariables>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user