Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting Coverage Takes a Long Time #440

Open
zackerydev opened this issue Aug 27, 2020 · 0 comments
Open

Formatting Coverage Takes a Long Time #440

zackerydev opened this issue Aug 27, 2020 · 0 comments
Assignees

Comments

@zackerydev
Copy link

Hi 👋

We have been using Code Climate in our TypeScript Mono Repo for the last few months with great success. It is around 124k lines of code split across around 30 apps and packages.

To report coverage to CodeClimate we have to format and sum up all of the lcov.info files. Occasionally the format step takes upwards of 15 minutes to complete, while other times it takes around 6 minutes. I am wondering if there is anything that can be done to improve performance?

Two potential solutions on the CodeClimate side would be to

  • Allowing partial (sub directory) reporting to be done in the base branch so we can report subsets of coverage based on the apps/packages (directories) changed in the mainline branch. This way we don't have to format and sum up 30+ lcov files.
  • Allowing uploads of the lcov.info files directly and formatting them into the code climate format after uploading.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants