build: Enabled the "with-integration-tests" profile in the builds that need it.
diff --git a/.github/workflows/cluster-it-1c1d.yml b/.github/workflows/cluster-it-1c1d.yml
index 81e0407..d7cbf3f 100644
--- a/.github/workflows/cluster-it-1c1d.yml
+++ b/.github/workflows/cluster-it-1c1d.yml
@@ -72,6 +72,7 @@
         # we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml
         run: |
           mvn clean verify \
+          -P with-integration-tests \
           -DskipUTs \
           -DintegrationTest.forkCount=2 \
           -pl integration-test \
diff --git a/.github/workflows/cluster-it-1c3d.yml b/.github/workflows/cluster-it-1c3d.yml
index 39db785..5cf8e86 100644
--- a/.github/workflows/cluster-it-1c3d.yml
+++ b/.github/workflows/cluster-it-1c3d.yml
@@ -51,6 +51,7 @@
         # we can skip influxdb-protocol because it has been tested separately in influxdb-protocol.yml
         run: |
           mvn clean verify \
+          -P with-integration-tests \
           -DskipUTs \
           -DintegrationTest.forkCount=6 -DConfigNodeMaxHeapSize=1024 -DDataNodeMaxHeapSize=1024 \
           -pl integration-test \
diff --git a/.github/workflows/sonar-coveralls.yml b/.github/workflows/sonar-coveralls.yml
index 23ec394..a8e8be5 100644
--- a/.github/workflows/sonar-coveralls.yml
+++ b/.github/workflows/sonar-coveralls.yml
@@ -45,10 +45,12 @@
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2-
       - name: Test
+        # TODO: Not sure this works as it should, the pl usually contains a list of artifactIds
         run: mvn -B clean compile test -pl distribution,iotdb-client/cli,iotdb-client/session,iotdb-client/jdbc -am -Dtest.port.closed=true -Pcode-coverage
       - name: Coveralls
+        # TODO: "post-integration-test" doesn't evaluate the outcome of the IT phase, this is done in "validate"
         run: |
-          mvn -B post-integration-test -Pcode-coverage -pl code-coverage
+          mvn -B post-integration-test -Pcode-coverage,with-integration-tests -pl code-coverage
           mvn -B coveralls:report \
           -DserviceName=travis_ci \
           -Dbranch=$BRANCH_NAME \
@@ -72,7 +74,7 @@
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
         run: |
-          mvn -B verify sonar:sonar \
+          mvn -B verify -P with-integration-tests sonar:sonar \
           -Dsonar.organization=apache \
           -Dsonar.projectKey=apache_iotdb \
           -Dsonar.host.url=https://sonarcloud.io \
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml
index a00ccab..04b3636 100644
--- a/.github/workflows/unit-test.yml
+++ b/.github/workflows/unit-test.yml
@@ -70,4 +70,4 @@
         if: ${{ matrix.it_task == 'others'}}
         run: |
           mvn clean install -DskipTests
-          mvn clean test -Dtest.port.closed=true -Diotdb.test.skip=true -P get-jar-with-dependencies
+          mvn clean test -Dtest.port.closed=true -Diotdb.test.skip=true -P get-jar-with-dependencies,with-integration-tests