This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch camel-3.18.x in repository https://gitbox.apache.org/repos/asf/camel.git
commit f9c128845ec81eb9a07c4c4073290b69a5c0e5ff Author: Otavio Rodolfo Piske <[email protected]> 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 0e0ad4fbdf4..bb65a479630 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++))
