@@ -16,11 +16,11 @@ jobs:
1616 env :
1717 USE_STAGE : ' true' # Whether to include the stage repository.
1818 TRAVIS_DIR : computer-dist/src/assembly/travis
19- KUBERNETES_VERSION : 1.20.1
2019 BSP_ETCD_URL : http://localhost:2579
21- # TODO: delete this env in the future (replaced by docker way now)
22- # TODO: adapt the HugeGraph Server version to 1.5.0 (EdgeID has 5 parts now)
23- HUGEGRAPH_SERVER_COMMIT_ID : d01c8737d7d5909119671953521f1401dcd1a188
20+ KUBERNETES_VERSION : 1.20.1
21+ # TODO: adapt the HugeGraph Server/Loader version to 1.5.0 (EdgeID has 5 parts now)
22+ # NOTE: Remember to adaptor/update the version before new release
23+ GRAPH_ENV_VERSION : 1.3.0
2424
2525 steps :
2626 - name : Checkout
7979 - name : Prepare env and service
8080 run : |
8181 $TRAVIS_DIR/install-env.sh
82- $TRAVIS_DIR/load-data-into-hugegraph.sh
83- #$TRAVIS_DIR/install-hugegraph-from-source.sh $HUGEGRAPH_SERVER_COMMIT_ID
82+ $TRAVIS_DIR/load-data-into-hugegraph.sh ${{ env.GRAPH_ENV_VERSION }}
8483
8584 - name : Install JDK 11
8685 uses : actions/setup-java@v3
@@ -97,12 +96,11 @@ jobs:
9796 - name : Compile
9897 run : mvn clean compile -e -Dmaven.javadoc.skip=true -ntp
9998
100- # TODO: enable it after the ci not required
101- # - name: Integrate test
102- # run: mvn test -P integrate-test -ntp
99+ - name : Integrate test
100+ run : mvn test -P integrate-test -ntp
103101
104- # - name: Unit test
105- # run: mvn test -P unit-test -ntp
102+ - name : Unit test
103+ run : mvn test -P unit-test -ntp
106104
107105 - name : Upload coverage to Codecov
108106 uses : codecov/codecov-action@v3
0 commit comments