The GitHub Actions job "Publish Nightly" on pekko-grpc.git/main has failed. Run started by GitHub user He-Pin (triggered by He-Pin).
Head commit for run: 51736716fa526902e358b308ef03334e2346feac / He-Pin(kerr) <[email protected]> refactor: migrate JUnit 4 to JUnit 6.1.0 (#758) Motivation: JUnit 4 is end-of-life. JUnit 6 unifies version numbering across Platform, Jupiter, and Vintage components. Modification: - Add sbt-jupiter-interface plugin and JupiterKeys overrides for JUnit Jupiter and Platform 6.1.0 - Migrate test files (Java, Scala, Groovy) from JUnit 4 to Jupiter: * Java: @Test, @Before/@After -> @BeforeEach/@AfterEach, @Ignore -> @Disabled, Assert.xxx -> Assertions.xxx (message param moves from first to last) * Java: Remove `extends JUnitSuite` and @RunWith(JUnit4.class) * Scala: Remove @RunWith(classOf[JUnitRunner]) from ScalaTest specs where discovery does not depend on the JUnit 4 bridge * Scala: org.junit.Assert._ -> org.junit.jupiter.api.Assertions._ * Groovy: Spock specs converted to JUnit Jupiter Java tests (@Unroll+where -> @ParameterizedTest+@MethodSource, cleanup() -> @AfterEach, @TempDir replaced with manual Files.createTempDirectory management) - Replace scalatestplus-junit with Jupiter test dependencies in Dependencies.scala (keep scalaTestPlusJunit for plugin-tester-scala where Gradle relies on the JUnit 4 runner for ScalaTest discovery) - Update Gradle build files to use JUnit Jupiter and useJUnitPlatform() - Convert gradle-plugin Spock/Groovy tests to JUnit Jupiter Java tests to avoid Groovy version conflicts with Gradle's bundled Groovy - Update benchmark-java standalone build to use JUnit Jupiter 6.1.0 - Update scripted test build and PekkoGrpcClientTester to use Jupiter assertions - Configure explicit ScalaFutures PatienceConfig in Scala 3 scripted greeter specs and use brace syntax for scalafmt compatibility - Pin Gradle plugin tests to JUnit Jupiter 5.14.1 and add explicit junit-platform-launcher:1.14.1 for Spock 2.4 compatibility (main project tests use JUnit 6) Result: All tests run on JUnit 6.1.0 (Jupiter). JUnit 4 is no longer a test dependency in the main project. Tests: Not run here - each constituent change was validated in its own commit; full validation to follow after rebase. References: Refs #759 (Gradle wrapper 8.14.5 upgrade, now on main) Refs #762 (scalafmt disable Scala 3 syntax) Report URL: https://github.com/apache/pekko-grpc/actions/runs/28309778197 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
