You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2025/11/05 07:52:20 UTC
(camel) branch main updated: fix(ci): skip test-infra unit test in parent pom detection
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 878c230fb94d fix(ci): skip test-infra unit test in parent pom detection
878c230fb94d is described below
commit 878c230fb94d353d53c54204668a3d2a2db991c8
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Wed Nov 5 08:52:13 2025 +0100
fix(ci): skip test-infra unit test in parent pom detection
---
.github/actions/detect-dependencies/detect-test.sh | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/.github/actions/detect-dependencies/detect-test.sh b/.github/actions/detect-dependencies/detect-test.sh
index 26b58ce07716..86f4867852af 100755
--- a/.github/actions/detect-dependencies/detect-test.sh
+++ b/.github/actions/detect-dependencies/detect-test.sh
@@ -45,10 +45,9 @@ find_affected_modules() {
# artifactId=$($mavenBinary -f "$pom" help:evaluate -Dexpression=project.artifactId -q -DforceStdout)
# workaround while https://github.com/apache/maven-mvnd/issues/1463 is fixed
artifactId=$($mavenBinary -f "$pom" help:evaluate -Dexpression=project.artifactId | grep -v '\[')
- if [ ! -z "$artifactId" ]; then
+ # we can skip any test-infra for the goal of the unit test
+ if [ ! -z "$artifactId" ] && [[ "$artifactId" != *test-infra* ]]; then
affected_transformed+=":$artifactId,"
- else
- echo "⚠️ could not find proper artifactId in $pom" >&2
fi
done