diff --git a/.github/workflows/sonar-codecov.yml b/.github/workflows/sonar-codecov.yml index adb943a7f62e..4f62c8926fbe 100644 --- a/.github/workflows/sonar-codecov.yml +++ b/.github/workflows/sonar-codecov.yml @@ -50,7 +50,7 @@ jobs: restore-keys: ${{ runner.os }}-m2- - name: Test run: | - mvn -B -P with-code-coverage clean package -pl distribution,iotdb-client/cli,iotdb-client/session,iotdb-client/jdbc -am -Dtest.port.closed=true + mvn -B -P with-code-coverage clean package -pl distribution,iotdb-client/cli,iotdb-client/session,iotdb-client/jdbc -am -Dtest.port.closed=true -DforkCount=4 mvn -B -P with-code-coverage post-integration-test -pl code-coverage - name: Upload coverage reports to codecov uses: codecov/codecov-action@v5