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

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


The following commit(s) were added to refs/heads/rel/1.1 by this push:
     new 0e00673512 [To rel/1.1] Fix CI error (#9341)
0e00673512 is described below

commit 0e006735120565378d8f913522c43884b7563bce
Author: Haonan <[email protected]>
AuthorDate: Thu Mar 16 10:40:38 2023 +0800

    [To rel/1.1] Fix CI error (#9341)
---
 .github/workflows/main-unix.yml | 4 +++-
 .github/workflows/main-win.yml  | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/main-unix.yml b/.github/workflows/main-unix.yml
index 1d471e745b..275a9191bc 100644
--- a/.github/workflows/main-unix.yml
+++ b/.github/workflows/main-unix.yml
@@ -61,4 +61,6 @@ jobs:
       - name: IT/UT Test
         shell: bash
         # we do not compile client-cpp for saving time, it is tested in 
client.yml
-        run: mvn -B clean test -Dtest.port.closed=true -P '!testcontainer' -P 
get-jar-with-dependencies
+        run: |
+          mvn clean install -DskipTests
+          mvn -B clean test -Dtest.port.closed=true -P '!testcontainer' -P 
get-jar-with-dependencies
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index 92f12741b5..0005adc9fa 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -68,5 +68,7 @@ jobs:
       - name: Test Other Modules with Maven
         shell: bash
         if: ${{ matrix.it_task == 'others'}}
-        run: mvn clean test -Dtest.port.closed=true -Diotdb.test.skip=true -P 
get-jar-with-dependencies
+        run: |
+          mvn clean install -DskipTests
+          mvn clean test -Dtest.port.closed=true -Diotdb.test.skip=true -P 
get-jar-with-dependencies
 

Reply via email to