This is an automated email from the ASF dual-hosted git repository. abhishekrb pushed a commit to branch include_jdk_version_test_report in repository https://gitbox.apache.org/repos/asf/druid.git
commit f0c6da01b22e7e35f3e34a3dbf6915001694e255 Author: Abhishek Balaji Radhakrishnan <[email protected]> AuthorDate: Fri Dec 5 13:34:22 2025 -0800 Include JDK version in test-reports so it's easier to find Currently we use one uber test-report across both JDK versions 17 and 21. Some tests may be flaky or even have JDK specific errors that can make it slightly difficult to identify the source of the error. So this patch should help which JDK/job to look into in case of errors rather than having to hunt down between the different versions. --- .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]
