This is an automated email from the ASF dual-hosted git repository.
xiangfu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pinot.git
The following commit(s) were added to refs/heads/master by this push:
new 7b1a3831467 Generate surefire report and upload artifacts in Pinot
test Github Action (#17076)
7b1a3831467 is described below
commit 7b1a38314671f97bb7cfb33649c34948b0417e5f
Author: Jhow <[email protected]>
AuthorDate: Mon Oct 27 10:08:07 2025 -0700
Generate surefire report and upload artifacts in Pinot test Github Action
(#17076)
* generate surefire report and upload artifacts
* only generate and upload when pushed to master
---
.github/workflows/pinot_tests.yml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/.github/workflows/pinot_tests.yml
b/.github/workflows/pinot_tests.yml
index dcdc5a57a12..eceaae87e64 100644
--- a/.github/workflows/pinot_tests.yml
+++ b/.github/workflows/pinot_tests.yml
@@ -233,6 +233,18 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true
+ - name: Generate Surefire Report
+ if: ${{ !cancelled() && github.ref == 'refs/heads/master' }}
+ run: mvn surefire-report:report-only -P
github-actions,codecoverage,no-integration-tests || echo "Surefire report
generation failed, but continuing..."
+ - name: Upload Surefire Reports
+ if: ${{ !cancelled() && github.ref == 'refs/heads/master' }}
+ uses: actions/upload-artifact@v4
+ with:
+ name: surefire-reports-unit-test-${{ matrix.testset
}}-${{matrix.distribution}}-${{matrix.java}}
+ path: |
+ **/target/surefire-reports/
+ **/target/site/surefire-report.html
+ retention-days: 30
integration-test:
if: github.repository == 'apache/pinot'
@@ -352,6 +364,18 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
verbose: true
+ - name: Generate Surefire Report
+ if: ${{ !cancelled() && github.ref == 'refs/heads/master' }}
+ run: mvn surefire-report:report-only -P github-actions,codecoverage ||
echo "Surefire report generation failed, but continuing..."
+ - name: Upload Surefire Reports
+ if: ${{ !cancelled() && github.ref == 'refs/heads/master' }}
+ uses: actions/upload-artifact@v4
+ with:
+ name: surefire-reports-integration-test-${{ matrix.testset
}}-${{matrix.distribution}}-${{matrix.java}}
+ path: |
+ **/target/surefire-reports/
+ **/target/site/surefire-report.html
+ retention-days: 30
compatibility-verifier:
if: github.repository == 'apache/pinot'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]