TradeWars / Economy

Other
0 stars 0 forks source link

Setup Code Coverage #5

Closed Bios-Marcel closed 6 years ago

Bios-Marcel commented 6 years ago

I'd like to see our state of testing, therefore i plan to setup code coverage.

I already have attempted that with Codacy, since we are using that tool anyways, sadly it doesn't seem to work with Kotlin.

Link to the specific line inside of the build-log: https://travis-ci.org/TradeWars/Economy/jobs/406601673#L1581

As you can see the report was successful, however, this happens on Codacy's site:

Oops!

We weren't able to validate your report. Ping us on the support chat and we will help you figure it out.

What might be wrong?

  • Outdated reporter: Always make sure you are running an up-to-date version of the reporter.
  • Inconsistent file paths: Depending on your project structure, we may be unable to automatically detect the files identified in your coverage report. The reporters have special options to normalise the project root folder, check their documentation.

However, i have informed the support, maybe there is something i can do about it.

Instead we might just us codecov.io, here is an example: https://github.com/codecov/example-kotlin

Bios-Marcel commented 6 years ago

I have now setup codecov.io for the develop branch only.