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

albumenj pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.1 by this push:
     new 0e549fb064 Turn on error reporting of Error Code Inspector. (#11182)
0e549fb064 is described below

commit 0e549fb064b06fbfe33b57a84aadc99d72a00295
Author: Andy Cheung <[email protected]>
AuthorDate: Thu Dec 22 20:16:19 2022 +0800

    Turn on error reporting of Error Code Inspector. (#11182)
---
 .github/workflows/build-and-test-pr.yml            | 6 ++++--
 .github/workflows/build-and-test-scheduled-3.1.yml | 6 ++++--
 .github/workflows/build-and-test-scheduled-3.2.yml | 6 ++++--
 .github/workflows/release-test-3.1.yml             | 6 ++++--
 4 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/build-and-test-pr.yml 
b/.github/workflows/build-and-test-pr.yml
index 1018219c67..446b1e6193 100644
--- a/.github/workflows/build-and-test-pr.yml
+++ b/.github/workflows/build-and-test-pr.yml
@@ -329,12 +329,14 @@ jobs:
           ./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C clean install -DskipTests=true -DskipIntegrationTests=true 
-Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true
       - name: "Run Error Code Inspecting"
         env:
-          "dubbo.eci.report-as-error": false
+          DUBBO_ECI_REPORT_AS_ERROR: true
         run: |
           cd ${{ github.workspace 
}}/dubbo-test-tools/dubbo-error-code-inspector
-          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
+          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java 
-Ddubbo.eci.report-as-error=${DUBBO_ECI_REPORT_AS_ERROR} -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
 
       - name: "Upload error code inspection result"
+        # always() should not be used here, since we don't need to handle the 
'canceled' situation.
+        if: ${{ success() || failure() }}
         uses: actions/upload-artifact@v3
         with:
           name: "error-inspection-result"
diff --git a/.github/workflows/build-and-test-scheduled-3.1.yml 
b/.github/workflows/build-and-test-scheduled-3.1.yml
index c23d088670..f82c01fa3a 100644
--- a/.github/workflows/build-and-test-scheduled-3.1.yml
+++ b/.github/workflows/build-and-test-scheduled-3.1.yml
@@ -335,12 +335,14 @@ jobs:
           ./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C clean install -DskipTests=true -DskipIntegrationTests=true 
-Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true
       - name: "Run Error Code Inspecting"
         env:
-          "dubbo.eci.report-as-error": false
+          DUBBO_ECI_REPORT_AS_ERROR: true
         run: |
           cd ${{ github.workspace 
}}/dubbo-test-tools/dubbo-error-code-inspector
-          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
+          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java 
-Ddubbo.eci.report-as-error=${DUBBO_ECI_REPORT_AS_ERROR} -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
 
       - name: "Upload error code inspection result"
+        # always() should not be used here, since we don't need to handle the 
'canceled' situation.
+        if: ${{ success() || failure() }}
         uses: actions/upload-artifact@v3
         with:
           name: "error-inspection-result"
diff --git a/.github/workflows/build-and-test-scheduled-3.2.yml 
b/.github/workflows/build-and-test-scheduled-3.2.yml
index 9a6e14d9d9..02da5f7520 100644
--- a/.github/workflows/build-and-test-scheduled-3.2.yml
+++ b/.github/workflows/build-and-test-scheduled-3.2.yml
@@ -334,12 +334,14 @@ jobs:
           ./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C clean install -DskipTests=true -DskipIntegrationTests=true 
-Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true
       - name: "Run Error Code Inspecting"
         env:
-          "dubbo.eci.report-as-error": false
+          DUBBO_ECI_REPORT_AS_ERROR: true
         run: |
           cd ${{ github.workspace 
}}/dubbo-test-tools/dubbo-error-code-inspector
-          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
+          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java 
-Ddubbo.eci.report-as-error=${DUBBO_ECI_REPORT_AS_ERROR} -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
 
       - name: "Upload error code inspection result"
+        # always() should not be used here, since we don't need to handle the 
'canceled' situation.
+        if: ${{ success() || failure() }}
         uses: actions/upload-artifact@v3
         with:
           name: "error-inspection-result"
diff --git a/.github/workflows/release-test-3.1.yml 
b/.github/workflows/release-test-3.1.yml
index fdab232bfc..d5ef981f77 100644
--- a/.github/workflows/release-test-3.1.yml
+++ b/.github/workflows/release-test-3.1.yml
@@ -332,12 +332,14 @@ jobs:
           ./mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C clean install -DskipTests=true -DskipIntegrationTests=true 
-Dcheckstyle.skip=true -Dcheckstyle_unix.skip=true -Drat.skip=true 
-Dmaven.javadoc.skip=true
       - name: "Run Error Code Inspecting"
         env:
-          "dubbo.eci.report-as-error": false
+          DUBBO_ECI_REPORT_AS_ERROR: true
         run: |
           cd ${{ github.workspace 
}}/dubbo-test-tools/dubbo-error-code-inspector
-          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
+          ../mvnw --batch-mode --no-snapshot-updates -e --no-transfer-progress 
--fail-fast -T 2C package exec:java 
-Ddubbo.eci.report-as-error=${DUBBO_ECI_REPORT_AS_ERROR} -Dmaven.test.skip=true 
-Dmaven.test.skip.exec=true -Ddubbo.eci.path=${{ github.workspace }}/dubbo
 
       - name: "Upload error code inspection result"
+        # always() should not be used here, since we don't need to handle the 
'canceled' situation.
+        if: ${{ success() || failure() }}
         uses: actions/upload-artifact@v2
         with:
           name: "error-inspection-result"

Reply via email to