Open matshou opened 5 years ago
Hi @yooksi ,
Thank you for the detailed report! This will help us track down the issue
@jitpack-io The builds have started to fail due to this exception as is evident by looking at builds 43-47. However the same branch builds fine on both Travis-CI and Xubuntu 18.04.2.
As of now I either have to exclude tests (which is a key part of CI services) or use another CI provider which is something I would not like to do. I hope you are able to resolve this issue in the near future.
We have identified the issue and are working on a fix. As a workaround, adding junit platform launcher to dependencies solves the issue:
testRuntime 'org.junit.platform:junit-platform-launcher:1.5.0'
Hi @yooksi,
This issue should be fixed now. Sorry about the interruption
I've just discovered and started using JitCI since I am already using JitPack to host my artifacts I thought I might as well use your CI service to have it all in one place.
The builds themselves seem to produce healthy artifacts and test are being executed correctly, however there is this quite concerning exception that keeps being thrown by every build:
Exception Stack Trace
I've did a bit of experimenting and found out that it's caused by adding this method to the
test
task:`org.gradle.api.tasks.testing.useJUnitPlatform()`
Note that I've not tried configuring JUnit specific options, I only know that the exception is throws when no arguments are used. As I've said, for now everything works fine but I do think this matter should be looked into because it might cause problems down the road.