This is an automated email from the ASF dual-hosted git repository.
abhishekrb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new ef46541a09e Include JDK version in test-reports so it's easier to find
(#18817)
ef46541a09e is described below
commit ef46541a09e7b1b2a05c7d6a2fd22567b3dff06b
Author: Abhishek Radhakrishnan <[email protected]>
AuthorDate: Fri Dec 5 22:22:20 2025 -0800
Include JDK version in test-reports so it's easier to find (#18817)
Currently, we generate a single consolidated test-report across both JDK 17
and JDK 21. Some tests may fail or flake only on one JDK version, which makes
it harder to identify the source of the error.
This patch generates a separate test report per JDK version, which will
allow us to identify the source of a failure by checking the corresponding
JDK-specific job.
---
.github/workflows/ci.yml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bc8389dc656..661213f17f6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -29,7 +29,7 @@ jobs:
uses: ./.github/workflows/worker.yml
with:
script: .github/scripts/run_unit-tests -Dtest=!QTest,'${{ matrix.pattern
}}' -Dmaven.test.failure.ignore=true
- artifact_prefix: "unit-test-reports"
+ artifact_prefix: "unit-test-reports-jdk${{ matrix.jdk }}"
jdk: ${{ matrix.jdk }}
key: "test-jdk${{ matrix.jdk }}-[${{ matrix.pattern }}]"
@@ -43,17 +43,21 @@ jobs:
name: "test-report"
needs: run-unit-tests
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ jdk: [ "17", "21" ]
steps:
- name: Download reports for all unit test jobs
uses: actions/download-artifact@v4
with:
- pattern: "unit-test-reports-*"
+ pattern: "unit-test-reports-jdk${{ matrix.jdk }}*"
path: target/surefire-reports
- name: Publish Test Report
uses: mikepenz/action-junit-report@v5
with:
- check_name: "Unit Test Report"
+ check_name: "Unit Test Report (JDK ${{ matrix.jdk }})"
report_paths: '**/target/surefire-reports/TEST-*.xml'
detailed_summary: true
flaky_summary: true
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]