Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
TRAVIS_DIR: computer-dist/src/assembly/travis
KUBERNETES_VERSION: 1.20.1
BSP_ETCD_URL: http://localhost:2579
# TODO: delete this env in the future (replaced by docker way now)
# TODO: adapt the HugeGraph Server version to 1.5.0 (EdgeID has 5 parts now)
HUGEGRAPH_SERVER_COMMIT_ID: d01c8737d7d5909119671953521f1401dcd1a188

steps:
- name: Checkout
Expand Down Expand Up @@ -80,7 +77,6 @@ jobs:
run: |
$TRAVIS_DIR/install-env.sh
$TRAVIS_DIR/load-data-into-hugegraph.sh
#$TRAVIS_DIR/install-hugegraph-from-source.sh $HUGEGRAPH_SERVER_COMMIT_ID

- name: Install JDK 11
uses: actions/setup-java@v3
Expand All @@ -97,12 +93,11 @@ jobs:
- name: Compile
run: mvn clean compile -e -Dmaven.javadoc.skip=true -ntp

# TODO: enable it after the ci not required
# - name: Integrate test
# run: mvn test -P integrate-test -ntp
- name: Integrate test
run: mvn test -P integrate-test -ntp

# - name: Unit test
# run: mvn test -P unit-test -ntp
- name: Unit test
run: mvn test -P unit-test -ntp

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ DATASET_DIR=${TRAVIS_DIR}/../dataset

docker network create ci
# Note: we need wait for server start finished, so start it first
docker run -itd --name=graph --network ci -p 8080:8080 hugegraph/hugegraph:latest && sleep 6
docker run -itd --name=graph --network ci -p 8080:8080 hugegraph/hugegraph:1.3.0 && sleep 6

wget http://files.grouplens.org/datasets/movielens/ml-latest-small.zip
unzip -d ${DATASET_DIR} ml-latest-small.zip

cd ${DATASET_DIR}/.. && pwd && ls -lh *

docker run -id --name=loader --network ci hugegraph/loader:latest
docker run -id --name=loader --network ci hugegraph/loader:1.3.0
docker cp dataset loader:/dataset || exit 1

docker exec -i loader ls -lh /dataset
Expand Down
Loading