You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/10/01 14:53:46 UTC

[camel-quarkus] 02/02: Adapt the CI to test with the examples from the separate repository

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

ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git

commit 0c0954d8f918e8f64130c4d8484ec8c0f681239a
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Thu Oct 1 15:02:08 2020 +0200

    Adapt the CI to test with the examples from the separate repository
---
 .github/workflows/ci-build.yaml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index 06e54e1..bc288c4 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -355,12 +355,12 @@ jobs:
           df -h /
           tar -xzf ../maven-repo.tgz -C ~
           df -h /
-      - name: cd examples && mvn clean test/verify
+      - name: clone and verify examples
         run: |
-          cd examples
-          ../mvnw ${MAVEN_ARGS} ${BRANCH_OPTIONS} \
-            -Dformatter.skip -Dimpsort.skip -Denforce=false \
-            ${MVN_TARGETS}
+          git clone --depth 1 --branch camel-quarkus-master https://github.com/apache/camel-quarkus-examples.git \
+            && cd camel-quarkus-examples \
+            && echo "Current Examples commit:" $(git rev-parse HEAD) \
+            && ./mvnw-for-each.sh ${MAVEN_ARGS} ${BRANCH_OPTIONS} ${MVN_TARGETS}
 
   # memoryhogs:
   #   runs-on: ubuntu-latest