You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ga...@apache.org on 2022/10/28 04:32:56 UTC

[incubator-seatunnel] branch dev updated: [Bug][CI] fix get changes error when no ut modules need run (#3211)

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

gaojun2048 pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git


The following commit(s) were added to refs/heads/dev by this push:
     new a1553d5ff [Bug][CI] fix get changes error when no ut modules need run (#3211)
a1553d5ff is described below

commit a1553d5ffb4d54d177d3a7cd2b8c4ca8e8e61546
Author: Eric <ga...@gmail.com>
AuthorDate: Fri Oct 28 12:32:51 2022 +0800

    [Bug][CI] fix get changes error when no ut modules need run (#3211)
    
    * fix unit test modules get error
---
 .github/workflows/backend.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 4f575b462..7977afac2 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -132,6 +132,8 @@ jobs:
               - "seatunnel-connectors/**"
               - "plugin-mapping.properties"
               - "pom.xml"
+              - "**/workflows/**"
+              - "**/tools/**"
             engine:
               - "seatunnel-engine/**"
             engine-e2e:
@@ -193,7 +195,7 @@ jobs:
 
       - name: Make unit test modules
         id: ut-modules
-        if: ${{ steps.filter.outputs.api == 'false' }}
+        if: ${{ steps.filter.outputs.api == 'false' && (steps.engine-modules.outputs.modules != '' || steps.cv2-modules.outputs.modules != '') }}
         run: |
           modules='${{ steps.engine-modules.outputs.modules }}${{ steps.cv2-modules.outputs.modules }}'
           modules=${modules: 1}