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


The following commit(s) were added to refs/heads/main by this push:
     new 8eadab3376c (chores) ci: increase the maximum number of testable 
components
8eadab3376c is described below

commit 8eadab3376c600cd43fae85f7b484792bdebfc8d
Author: Otavio Rodolfo Piske <[email protected]>
AuthorDate: Tue Apr 12 17:31:36 2022 +0200

    (chores) ci: increase the maximum number of testable components
---
 .github/actions/quick-test/quick-test.sh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/actions/quick-test/quick-test.sh 
b/.github/actions/quick-test/quick-test.sh
index 43d2da06359..626dea76bdf 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -27,6 +27,7 @@ MVN_OPTS=${MVN_OPTS:-$MVN_DEFAULT_OPTS}
 
 # Script variables
 failures=0
+maxNumberOfTestableComponents=15
 basedir=$(pwd)
 testDate=$(date '+%Y-%m-%d-%H%M%S')
 logDir=${basedir}/automated-build-log
@@ -98,7 +99,7 @@ function main() {
     echo "0" > "${logDir}/failures"
     exit 0
   else
-    if [[ ${total} -gt 10 ]]; then
+    if [[ ${total} -gt ${maxNumberOfTestableComponents} ]]; then
       echo "0" > "${logDir}/tested"
       echo "0" > "${logDir}/failures"
       exit 0

Reply via email to