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: 7dac18639e79d6357e00fc21e6320e2620297afd / 虎鸣 <[email protected]> fix: align JUnit Platform versions and fix Spock 2.4 temp directory handling Motivation: Gradle plugin tests failed on CI with "OutputDirectoryCreator not available" due to misaligned junit-platform-engine (1.14.1 from Jupiter 5.14.1) and Gradle's older bundled junit-platform-launcher. Additionally, @TempDir from JUnit Jupiter is not supported in Spock 2.4 specs since Jupiter extensions are not auto-loaded by the Spock engine. Modification: - Added explicit junit-platform-launcher:1.14.1 as testRuntimeOnly to override Gradle's older bundled launcher version - Replaced @TempDir with manual temp directory management using Files.createTempDirectory and cleanup in Spock cleanup() - Used Path.resolve() for subdirectory construction to avoid ambiguous File constructor overloading in Groovy Result: 19 of 25 Gradle plugin tests pass locally (remaining 6 failures are environmental: Gradle 4.0/5.5/5.6 incompatible with JDK 17, and extractIncludeProto requires published pekko artifacts). Tests: gradle-plugin: ./gradlew test (19 passed, 6 failed - environmental) References: Refs #758 Report URL: https://github.com/apache/pekko-grpc/actions/runs/28280512510 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
