gengliangwang commented on a change in pull request #29133:
URL: https://github.com/apache/spark/pull/29133#discussion_r455923173
##########
File path: project/SparkBuild.scala
##########
@@ -1027,6 +1027,11 @@ object TestSettings {
}.getOrElse(Nil): _*),
// Show full stack trace and duration in test cases.
testOptions in Test += Tests.Argument("-oDF"),
+ // Show only the failed test cases in github action to make the log more
readable.
+ testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest,
+ sys.env.get("GITHUB_ACTIONS").map { _ =>
+ Seq("-eNCXEHLOPQMDSF")
Review comment:
Check https://www.scalatest.org/user_guide/using_the_runner for the
options here.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]