https://kotlinlang.org logo
Title
m

Marc Knaup

11/29/2018, 9:51 PM
Did anybody manage to get codecov.io working with Kotlin + JaCoCo when source path and package name do not match? The generated coverage report XML only contains source file names, not paths, which prevents codecov from reporting any coverage 😞
p

pajatopmr

11/29/2018, 11:34 PM
Can’t help you much with codecov.io but I do seem to recall getting Kotlin and Jacoco working (only on JVM target of course) with IntelliJ when I had source code inadvertently in the wrong place. Since then I have modified the source to be package aligned. Fwiw. This is using multiplatform.
g

gildor

11/30/2018, 6:58 AM
Config of code coverage https://github.com/gildor/kotlin-coroutines-retrofit To upload just use this command
bash <(curl -s <https://codecov.io/bash>)
m

Marc Knaup

11/30/2018, 11:08 AM
Thank you, but this is a different scenario. Source path and package name match in your case but not in mine. Project: https://github.com/fluidsonic/fluid-json Codecov: https://codecov.io/github/fluidsonic/fluid-json/commit/8e9b084fb3418f88615f69c49ae5e6a6383b758c