You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2023/05/31 10:12:50 UTC
[camel] branch main updated: component-test - Make tests fail for debugging purpose
This is an automated email from the ASF dual-hosted git repository.
nfilotto 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 999b86868f3 component-test - Make tests fail for debugging purpose
999b86868f3 is described below
commit 999b86868f39a3ad144358c3a00c3f92b74e12b5
Author: Nicolas Filotto <nf...@talend.com>
AuthorDate: Wed May 31 12:12:31 2023 +0200
component-test - Make tests fail for debugging purpose
---
.github/actions/component-test/action.yaml | 18 +++++++++---------
.github/actions/component-test/component-test.sh | 2 +-
.github/workflows/pr-comment.yml | 22 +++++++++++-----------
3 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/.github/actions/component-test/action.yaml b/.github/actions/component-test/action.yaml
index 6dc58514e35..2acdb7b6b52 100644
--- a/.github/actions/component-test/action.yaml
+++ b/.github/actions/component-test/action.yaml
@@ -47,15 +47,15 @@ runs:
with:
name: build.log
path: build.log
-# - name: maven test
-# shell: bash
-# run: ${{ github.action_path }}/component-test.sh ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd "${{ inputs.comment-body }}" false tests.log
-# - name: archive logs
-# uses: actions/upload-artifact@v3
-# if: always()
-# with:
-# name: tests.log
-# path: tests.log
+ - name: maven test
+ shell: bash
+ run: ${{ github.action_path }}/component-test.sh ${{ steps.install-mvnd.outputs.mvnd-dir }}/mvnd "${{ inputs.comment-body }}" false tests.log
+ - name: archive logs
+ uses: actions/upload-artifact@v3
+ if: always()
+ with:
+ name: tests.log
+ path: tests.log
- name: Success comment
if: success()
uses: actions/github-script@v6
diff --git a/.github/actions/component-test/component-test.sh b/.github/actions/component-test/component-test.sh
index 3447c7272c6..39c41e80a96 100755
--- a/.github/actions/component-test/component-test.sh
+++ b/.github/actions/component-test/component-test.sh
@@ -48,7 +48,7 @@ function main() {
$mavenBinary -l $log -Pfastinstall installo -pl "$pl" -am
else
echo "Launching tests of the projects ${pl}"
- $mavenBinary -l $log install -pl "$pl"
+ $mavenBinary -l $log installo -pl "$pl"
fi
}
diff --git a/.github/workflows/pr-comment.yml b/.github/workflows/pr-comment.yml
index 550a2c73718..eaccf3ea360 100644
--- a/.github/workflows/pr-comment.yml
+++ b/.github/workflows/pr-comment.yml
@@ -43,17 +43,17 @@ jobs:
pull_number: context.issue.number
});
core.exportVariable('pr_sha', pr.data.head.sha)
-# - uses: actions/checkout@v3
-# with:
-# ref: ${{ env.pr_sha }}
-# - id: install-packages
-# uses: ./.github/actions/install-packages
-# - name: Set up JDK ${{ matrix.java }}
-# uses: actions/setup-java@v3
-# with:
-# distribution: 'temurin'
-# java-version: ${{ matrix.java }}
-# cache: 'maven'
+ - uses: actions/checkout@v3
+ with:
+ ref: ${{ env.pr_sha }}
+ - id: install-packages
+ uses: ./.github/actions/install-packages
+ - name: Set up JDK ${{ matrix.java }}
+ uses: actions/setup-java@v3
+ with:
+ distribution: 'temurin'
+ java-version: ${{ matrix.java }}
+ cache: 'maven'
- id: test
name: Component test execution
uses: ./.github/actions/component-test