-
Notifications
You must be signed in to change notification settings - Fork 521
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(server): support new backend Hstore (#2560)
subtask of #2483
- Loading branch information
Showing
108 changed files
with
10,558 additions
and
330 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,3 +116,73 @@ jobs: | |
uses: codecov/[email protected] | ||
with: | ||
file: ${{ env.REPORT_DIR }}/*.xml | ||
|
||
hstore: | ||
# TODO: avoid duplicated env setup | ||
runs-on: ubuntu-latest | ||
env: | ||
USE_STAGE: 'true' # Whether to include the stage repository. | ||
TRAVIS_DIR: hugegraph-server/hugegraph-dist/src/assembly/travis | ||
REPORT_DIR: target/site/jacoco | ||
BACKEND: hstore | ||
RELEASE_BRANCH: ${{ startsWith(github.ref_name, 'release-') || startsWith(github.ref_name, 'test-') || startsWith(github.base_ref, 'release-') }} | ||
|
||
steps: | ||
- name: Install JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: '11' | ||
distribution: 'zulu' | ||
|
||
- name: Cache Maven packages | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.m2 | ||
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | ||
restore-keys: ${{ runner.os }}-m2 | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- name: use staged maven repo settings | ||
if: ${{ env.USE_STAGE == 'true' }} | ||
run: | | ||
cp $HOME/.m2/settings.xml /tmp/settings.xml | ||
mv -vf .github/configs/settings.xml $HOME/.m2/settings.xml | ||
- name: Package | ||
run: | | ||
mvn clean package -U -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -ntp | ||
- name: Prepare env and service | ||
run: | | ||
$TRAVIS_DIR/install-backend.sh $BACKEND | ||
- name: Run unit test | ||
run: | | ||
$TRAVIS_DIR/run-unit-test.sh $BACKEND | ||
- name: Run core test | ||
run: | | ||
$TRAVIS_DIR/run-core-test.sh $BACKEND | ||
- name: Run api test | ||
run: | | ||
$TRAVIS_DIR/run-api-test.sh $BACKEND $REPORT_DIR | ||
- name: Run raft test | ||
if: ${{ env.BACKEND == 'rocksdb' }} | ||
run: | | ||
$TRAVIS_DIR/run-api-test-for-raft.sh $BACKEND $REPORT_DIR | ||
- name: Run TinkerPop test | ||
if: ${{ env.RELEASE_BRANCH == 'true' }} | ||
run: | | ||
$TRAVIS_DIR/run-tinkerpop-test.sh $BACKEND tinkerpop | ||
- name: Upload coverage to Codecov | ||
uses: codecov/[email protected] | ||
with: | ||
file: ${{ env.REPORT_DIR }}/*.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.