diff --git a/.github/workflows/pd-store.yml b/.github/workflows/pd-store.yml index c3e2db10de..b3abff59d0 100644 --- a/.github/workflows/pd-store.yml +++ b/.github/workflows/pd-store.yml @@ -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/codecov-action@v3.0.0