Skip to content

Commit

Permalink
chore: set the skipCommonsTests property to true by default (apac…
Browse files Browse the repository at this point in the history
  • Loading branch information
VGalaxies authored Sep 1, 2024
1 parent 355483f commit a529c02
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commons-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ jobs:
- name: Run common test
run: |
mvn test -pl hugegraph-commons/hugegraph-common -Dtest=UnitTestSuite
mvn test -pl hugegraph-commons/hugegraph-common -Dtest=UnitTestSuite -DskipCommonsTests=false
- name: Run rpc test
run: |
mvn test -pl hugegraph-commons/hugegraph-rpc -Dtest=UnitTestSuite
mvn test -pl hugegraph-commons/hugegraph-rpc -Dtest=UnitTestSuite -DskipCommonsTests=false
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.0.0
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<sun.xml.version>3.0.2</sun.xml.version>
<checkstyle.plugin.version>3.1.2</checkstyle.plugin.version>
<checkstyle.version>8.45</checkstyle.version>
<skipCommonsTests>false</skipCommonsTests>
<skipCommonsTests>true</skipCommonsTests>
</properties>

<modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export HUGEGRAPH_PASSWORD=pa
$RAFT_TOOLS --set-leader "hugegraph" "$RAFT_LEADER"

# run api-test
mvn test -pl hugegraph-server/hugegraph-test -am -P api-test,$BACKEND -DskipCommonsTests=true || (cat $RAFT1_DIR/logs/hugegraph-server.log && exit 1)
mvn test -pl hugegraph-server/hugegraph-test -am -P api-test,$BACKEND || (cat $RAFT1_DIR/logs/hugegraph-server.log && exit 1)

$TRAVIS_DIR/build-report.sh $BACKEND $JACOCO_PORT $REPORT_FILE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ authentication: {
$TRAVIS_DIR/start-server.sh $SERVER_DIR $BACKEND $JACOCO_PORT || (cat $SERVER_DIR/logs/hugegraph-server.log && exit 1)

# run api-test
mvn test -pl hugegraph-server/hugegraph-test -am -P api-test,$BACKEND -DskipCommonsTests=true || (cat $SERVER_DIR/logs/hugegraph-server.log && exit 1)
mvn test -pl hugegraph-server/hugegraph-test -am -P api-test,$BACKEND || (cat $SERVER_DIR/logs/hugegraph-server.log && exit 1)

$TRAVIS_DIR/build-report.sh $BACKEND $JACOCO_PORT $REPORT_FILE

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ set -ev

BACKEND=$1

mvn test -pl hugegraph-server/hugegraph-test -am -P core-test,$BACKEND -DskipCommonsTests=true
mvn test -pl hugegraph-server/hugegraph-test -am -P core-test,$BACKEND
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ BACKEND=$1
SUITE=$2

if [[ "$SUITE" == "structure" || "$SUITE" == "tinkerpop" ]]; then
mvn test -pl hugegraph-server/hugegraph-test -am -P tinkerpop-structure-test,$BACKEND -DskipCommonsTests=true
mvn test -pl hugegraph-server/hugegraph-test -am -P tinkerpop-structure-test,$BACKEND
fi

if [[ "$SUITE" == "process" || "$SUITE" == "tinkerpop" ]]; then
mvn test -pl hugegraph-server/hugegraph-test -am -P tinkerpop-process-test,$BACKEND -DskipCommonsTests=true
mvn test -pl hugegraph-server/hugegraph-test -am -P tinkerpop-process-test,$BACKEND
fi
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ set -ev
BACKEND=$1

if [[ "$BACKEND" == "memory" ]]; then
mvn test -pl hugegraph-server/hugegraph-test -am -P unit-test -DskipCommonsTests=true
mvn test -pl hugegraph-server/hugegraph-test -am -P unit-test
fi

0 comments on commit a529c02

Please sign in to comment.