yaooqinn opened a new pull request, #54069: URL: https://github.com/apache/spark/pull/54069
### What changes were proposed in this pull request? This PR adds `test-summary/action@v2` to GitHub Actions workflows to display test failures directly in the job summary. **Jobs updated:** - `build` - Scala/Java unit tests - `pyspark` - Python tests - `sparkr` - R tests - `tpcds` - TPC-DS benchmark tests - `docker-integration-tests` - Docker integration tests The action parses JUnit XML test reports and generates a summary table showing: - Failed tests grouped by class/suite name - Error messages and stack traces - Pass/fail/skip statistics ### Why are the changes needed? Currently, GitHub Actions CI generates verbose logs that make it hard to find test failures quickly. Developers have to scroll through extensive log output to identify which tests failed. With this change, test failures appear directly in the GitHub Actions workflow summary, making it easy to identify failures at a glance. **Example output:** | Result | Test | |--------|------| | ❌ | org.apache.spark.sql.SomeTestSuite › testMethod1 | | ❌ | org.apache.spark.sql.SomeTestSuite › testMethod2 | ### Does this PR introduce _any_ user-facing change? No. This only affects the CI/CD workflow display. ### How was this patch tested? - YAML syntax validated locally - The `test-summary/action` is a well-maintained GitHub Action with 1000+ stars - Uses `if: always()` to ensure summary is generated even when tests fail ### Was this patch authored or co-authored using generative AI tooling? Generated-by: GitHub Copilot -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
