diff --git a/.github/workflows/client-ci.yml b/.github/workflows/client-ci.yml index 7896bf0c0..30303491b 100644 --- a/.github/workflows/client-ci.yml +++ b/.github/workflows/client-ci.yml @@ -61,7 +61,7 @@ jobs: - name: Prepare env and service run: | - $TRAVIS_DIR/install-hugegraph-from-source.sh $COMMIT_ID + $TRAVIS_DIR/install-hugegraph-from-source.sh - name: Run test run: | diff --git a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh index c3ff3943b..98eeba03a 100755 --- a/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh +++ b/hugegraph-client/assembly/travis/install-hugegraph-from-source.sh @@ -17,16 +17,16 @@ # set -ev -if [[ $# -ne 1 ]]; then - echo "Must input an existing commit id of hugegraph server" && exit 1 -fi +#if [[ $# -ne 1 ]]; then +# echo "Must input an existing commit id of hugegraph server" && exit 1 +#fi -COMMIT_ID=$1 +#COMMIT_ID=$1 HUGEGRAPH_GIT_URL="https://github.com/apache/hugegraph.git" GIT_DIR=hugegraph # download code and compile -git clone --depth 150 ${HUGEGRAPH_GIT_URL} -b father-sub-edge $GIT_DIR +git clone --depth 150 ${HUGEGRAPH_GIT_URL} -b father-sub-edge cd "${GIT_DIR}" git checkout "${COMMIT_ID}" mvn package -DskipTests -Dmaven.javadoc.skip=true -ntp