codeclimate / test-reporter

Code Climate Test Reporter
MIT License
156 stars 76 forks source link

Allow configurable coverage directory #316

Open redbugz opened 6 years ago

redbugz commented 6 years ago

It appears that currently, at least for istanbul/nyc/lcov, that it is hardcoded to expect the files to be at ./coverage/lcov.info

We have overridden this location using nyc configuration to output to a different directory to consolidate several of our reports. In our case, we output our coverage information in ./reports/coverage/lcov.info

Please allow a way to override the default hardcoded location either through env var or command line parameter so we can specify where the coverage directory is located.

davehenton commented 6 years ago

Hey @redbugz, sorry about the delay in getting back to you on this. You should be able to use our low-level commands in order to specify a location where your coverage info is located.

Let me know if you have any questions about that, or if that isn't quite what you're looking for.