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 8bfc683 fix
8bfc683 is described below
commit 8bfc683641073f641a6ab52dd37dcda87180a9fe
Author: HTHou <[email protected]>
AuthorDate: Sun Mar 20 12:41:48 2022 +0800
fix
---
.github/workflows/main-win.yml | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/main-win.yml b/.github/workflows/main-win.yml
index 09086bb..fefffd7 100644
--- a/.github/workflows/main-win.yml
+++ b/.github/workflows/main-win.yml
@@ -59,9 +59,9 @@ jobs:
- name: Cache Maven packages
uses: actions/cache@v2
with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: ${{ runner.os }}-maven-
+ 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 +106,14 @@ jobs:
- name: Test Server Module with Maven
shell: bash
if: ${{ matrix.it_task == 'server'}}
- run: source ~/.bash_profile && mvn -B clean integration-test
-Dtest.port.closed=true -pl server -am -DskipTests=true -Diotdb.test.only=true
+ run: source ~/.bash_profile && ./mvnw -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 && mvn -B clean integration-test
-Dtest.port.closed=true -pl cluster -am -DskipTests=true
-Dcluster.test.only=true
+ run: source ~/.bash_profile && ./mvnw -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 && mvn -B clean verify
-Dtest.port.closed=true -Diotdb.test.skip=true -Dcluster.test.skip=true -P
'!influxdb-protocol'
+ run: source ~/.bash_profile && ./mvnw -B clean verify
-Dtest.port.closed=true -Diotdb.test.skip=true -Dcluster.test.skip=true -P
'!influxdb-protocol'