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 ac4745766 [Hotfix] Fix ut and it modules error (#3290)
ac4745766 is described below

commit ac4745766589896997ae4cc76e78b4ab860a494e
Author: Eric <[email protected]>
AuthorDate: Thu Nov 3 16:49:45 2022 +0800

    [Hotfix] Fix ut and it modules error (#3290)
---
 .github/workflows/backend.yml                      | 2 --
 tools/update_modules_check/update_modules_check.py | 1 +
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml
index 2c898080d..a38d4a252 100644
--- a/.github/workflows/backend.yml
+++ b/.github/workflows/backend.yml
@@ -207,7 +207,6 @@ jobs:
           includes=`python tools/update_modules_check/update_modules_check.py 
tree $tree_modules`
           ./mvnw -Pno_dist -D"e2e.dependency.skip"=false  dependency:tree 
$includes -DoutputType=text -DoutputFile=/tmp/tree_out.txt
           build_modules=`python 
tools/update_modules_check/update_modules_check.py final_ut /tmp/tree_out.txt`
-          build_modules=${build_modules: 1}
           echo $build_modules
           echo "modules=$build_modules" >> $GITHUB_OUTPUT
 
@@ -224,7 +223,6 @@ jobs:
           includes=`python tools/update_modules_check/update_modules_check.py 
tree $tree_modules`
           ./mvnw -Pno_dist -D"e2e.dependency.skip"=false  dependency:tree 
$includes -DoutputType=text -DoutputFile=/tmp/tree_out.txt
           build_modules=`python 
tools/update_modules_check/update_modules_check.py final_it /tmp/tree_out.txt`
-          build_modules=${build_modules: 1}
           echo $build_modules
           echo "modules=$build_modules" >> $GITHUB_OUTPUT
 
diff --git a/tools/update_modules_check/update_modules_check.py 
b/tools/update_modules_check/update_modules_check.py
index c135d7c99..59aaccfee 100644
--- a/tools/update_modules_check/update_modules_check.py
+++ b/tools/update_modules_check/update_modules_check.py
@@ -107,6 +107,7 @@ def get_final_ut_modules(file):
             if con[2] == "jar":
                 output = output + "," + ":" + con[1]
 
+    output = output[1:len(output)]
     print(output)
 
 def main(argv):

Reply via email to