Skip to content

Commit

Permalink
rearrange pd CI yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VGalaxies committed Mar 16, 2024
1 parent 5cd0d02 commit afe9906
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/pd-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,29 +45,30 @@ jobs:
run: |
mvn clean package -U -Dmaven.javadoc.skip=true -Dmaven.test.skip=true -ntp
- name: Prepare env and service
- name: Run common test
run: |
$TRAVIS_DIR/start-pd.sh
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-common-test
- name: Run client test
- name: Run core test
run: |
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-client-test -Dmaven.test.failure.ignore=true
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-core-test
- name: Run core test
# The above tests do not require starting a PD instance.
- name: Prepare env and service
run: |
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-core-test -Dmaven.test.failure.ignore=true
$TRAVIS_DIR/start-pd.sh
- name: Run cli-tools test
- name: Run client test
run: |
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-cli-tools-test -Dmaven.test.failure.ignore=true
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-client-test
- name: Run common test
- name: Run cli-tools test
run: |
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-common-test -Dmaven.test.failure.ignore=true
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-cli-tools-test
- name: Run rest test
run: |
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-rest-test -Dmaven.test.failure.ignore=true
mvn test -pl hugegraph-pd/hg-pd-test -am -P pd-rest-test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
Expand Down

0 comments on commit afe9906

Please sign in to comment.