This is an automated email from the ASF dual-hosted git repository.

haonan pushed a commit to branch win_wf_fix
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/win_wf_fix by this push:
     new 5612e7b  fix
5612e7b is described below

commit 5612e7b5a7088d4298dc6ab7ebc992a18ecf703f
Author: HTHou <[email protected]>
AuthorDate: Sun Mar 20 12:45:58 2022 +0800

    fix
---
 .github/workflows/main-win.yml | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index fefffd7..b3a2ff5 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -56,12 +56,6 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
-      - name: Cache Maven packages
-        uses: actions/cache@v2
-        with:
-          path: ~/.mz
-          key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
-          restore-keys: ${{ runner.os }}-m2-
       - name: Check Apache Rat
         run: mvn -B apache-rat:check
       - name: Download Hadoop Tools if Needed
@@ -106,14 +100,14 @@ jobs:
       - name: Test Server Module with Maven
         shell: bash
         if: ${{ matrix.it_task == 'server'}}
-        run: source ~/.bash_profile && ./mvnw -B clean integration-test 
-Dtest.port.closed=true -pl server -am -DskipTests=true -Diotdb.test.only=true
+        run: source ~/.bash_profile && mvn -B clean integration-test 
-Dtest.port.closed=true -pl server -am -DskipTests=true -Diotdb.test.only=true
       - name: Test Cluster Module with Maven
         shell: bash
         if: ${{ matrix.it_task == 'cluster'}}
-        run: source ~/.bash_profile && ./mvnw -B clean integration-test 
-Dtest.port.closed=true -pl cluster -am -DskipTests=true 
-Dcluster.test.only=true
+        run: source ~/.bash_profile && mvn -B clean integration-test 
-Dtest.port.closed=true -pl cluster -am -DskipTests=true 
-Dcluster.test.only=true
       - name: Test Other Modules with Maven
         shell: bash
         if: ${{ matrix.it_task == 'others'}}
         # we can skip influxdb-protocol because it has been tested separately 
in influxdb-protocol.yml
-        run: source ~/.bash_profile && ./mvnw -B clean verify 
-Dtest.port.closed=true -Diotdb.test.skip=true -Dcluster.test.skip=true -P 
'!influxdb-protocol'
+        run: source ~/.bash_profile && mvn -B clean verify 
-Dtest.port.closed=true -Diotdb.test.skip=true -Dcluster.test.skip=true -P 
'!influxdb-protocol'
 

Reply via email to