You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2024/01/04 14:57:33 UTC

(camel) branch CAMEL-20296/exclude-it-folders created (now 8187bc2ffb3)

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

nfilotto pushed a change to branch CAMEL-20296/exclude-it-folders
in repository https://gitbox.apache.org/repos/asf/camel.git


      at 8187bc2ffb3 CAMEL-20296: component-test - Exclude IT folders

This branch includes the following new commits:

     new 8187bc2ffb3 CAMEL-20296: component-test - Exclude IT folders

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel) 01/01: CAMEL-20296: component-test - Exclude IT folders

Posted by nf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nfilotto pushed a commit to branch CAMEL-20296/exclude-it-folders
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 8187bc2ffb39f319d450891fe01cd7135acc7176
Author: Nicolas Filotto <es...@users.noreply.github.com>
AuthorDate: Thu Jan 4 15:57:26 2024 +0100

    CAMEL-20296: component-test - Exclude IT folders
---
 .github/actions/component-test/component-test.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/component-test/component-test.sh b/.github/actions/component-test/component-test.sh
index 8b17efc4f56..73555c72835 100755
--- a/.github/actions/component-test/component-test.sh
+++ b/.github/actions/component-test/component-test.sh
@@ -27,7 +27,7 @@ function main() {
     local componentList="${commentBody:16}"
     echo "The list of components to test is ${componentList}"
   else
-    echo "No components has been detected, the expected format is '/component-test (camel-)component-name1 (camel-)component-name2...'"
+    echo "No components have been detected, the expected format is '/component-test (camel-)component-name1 (camel-)component-name2...'"
     exit 1
   fi
   local pl=""
@@ -39,7 +39,7 @@ function main() {
       componentPath="components/camel-${component}"
     fi
     if [[ -d "${componentPath}" ]] ; then
-      pl="$pl$(find "${componentPath}" -name pom.xml -exec dirname {} \; | sort | tr -s "\n" ",")"
+      pl="$pl$(find "${componentPath}" -name pom.xml -not -path "*/src/it/*" -exec dirname {} \; | sort | tr -s "\n" ",")"
     fi
   done
   len=${#pl}