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 <essob...@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}