You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/13 08:32:12 UTC

[camel] branch main updated (944724c03d3 -> 6205c04518d)

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

orpiske pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


    from 944724c03d3 CAMEL-18576: Using property placeholder allows to turn off nested, with myKey?nested=false. (#8533)
     new 02db6665415 (chores) ci: add visual marker for skipped tests
     new 6205c04518d (chores) ci: add support for generating tests summaries

The 2 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.


Summary of changes:
 .github/actions/quick-test/quick-test.sh | 5 +++++
 .github/workflows/component-pr.yaml      | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)


[camel] 01/02: (chores) ci: add visual marker for skipped tests

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 02db66654155ef2d44ef2922b21ba88eda868704
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:30:00 2022 +0200

    (chores) ci: add visual marker for skipped tests
---
 .github/workflows/component-pr.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/component-pr.yaml b/.github/workflows/component-pr.yaml
index 1a5661a83bc..849c07106e1 100644
--- a/.github/workflows/component-pr.yaml
+++ b/.github/workflows/component-pr.yaml
@@ -101,7 +101,7 @@ jobs:
                 message = ":no_entry_sign: There are (likely) no components to be tested in this PR"
               } else {
                 if (total > 20) {
-                  message = `There are too many components to be tested in this PR, components were removed or the code needs a rebase: (${total} likely to be tested)`
+                  message = `:leftwards_arrow_with_hook: There are too many components to be tested in this PR, components were removed or the code needs a rebase: (${total} likely to be tested)`
                 }
               }
             } else {


[camel] 02/02: (chores) ci: add support for generating tests summaries

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

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 6205c04518dbb95dbfe3957a9b03689639b8fef4
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Oct 13 10:31:39 2022 +0200

    (chores) ci: add support for generating tests summaries
---
 .github/actions/quick-test/quick-test.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index b8223ad8478..e93aacb1f1b 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -39,6 +39,7 @@ function notifySuccess() {
   local current=$3
 
   echo "${component} test completed successfully: ${current} verified / ${failures} failed"
+  echo "| ${component} | :white_check_mark: pass" >> $GITHUB_STEP_SUMMARY
 }
 
 function notifyError() {
@@ -47,6 +48,7 @@ function notifyError() {
   local current=$3
 
   echo "Failed ${component} test: ${current} verified / ${failures} failed"
+  echo "| ${component} | :x: fail" >> $GITHUB_STEP_SUMMARY
 }
 
 function runTest() {
@@ -60,6 +62,9 @@ function runTest() {
   echo ""
 
   echo "Logging test to ${logDir}/${component/\//-}.log"
+  echo "| Component | Result |" >> $GITHUB_STEP_SUMMARY
+  echo "| --- | --- |" >> $GITHUB_STEP_SUMMARY
+
   mvn -Psourcecheck ${MVN_OPTS} verify 2>&1 >> "${logDir}/${component/\//-}.log"
   if [[ $? -ne 0 ]]; then
     ((failures++))