The GitHub Actions job "Validate and test" on pekko-grpc.git/feature/junit6-migration has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 3aeff492a3693bfe5e467f16bcd57ecc5fa3be5c / 虎鸣 <[email protected]> fix: restore ScalaTest JUnit 4 bridge for Gradle test discovery in plugin-tester-scala Motivation: Removing @RunWith(classOf[JUnitRunner]) and replacing scalatestplus:junit-4-13 with junit-jupiter:6.1.0 in plugin-tester-scala causes Gradle's test task to discover 0 tests. Gradle 7.6 uses JUnit 4 by default and requires the JUnit 4 runner to discover ScalaTest specs. This would silently pass CI with no tests executed. Modification: Revert plugin-tester-scala/build.gradle test dependency to scalatestplus:junit-4-13 and restore @RunWith(classOf[JUnitRunner]) in ErrorReportingSpec and GreeterServiceSpec. The Gradle plugin-tester projects use ScalaTest with a JUnit 4 bridge for test discovery, which is independent of the JUnit Jupiter migration in the main project. Result: Gradle test discovery for plugin-tester-scala tests is preserved. Tests: Gradle tests in plugin-tester-scala will be discovered and executed via the JUnit 4 runner bridge. References: Refs #758 Report URL: https://github.com/apache/pekko-grpc/actions/runs/28279447903 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
