-
Notifications
You must be signed in to change notification settings - Fork 76
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
'cc-test-reporter after-build' Error message unclear #379
Comments
This turned out to be two things:
Once both of those were solved the coverage file seemed to upload fine. I can see it in |
Is everything you mentioned applied to |
Yeah, it's all sync'd with master and looks like it's uploading, but no badges and no trends or anything. Here is the project: https://github.com/TheRohans/dapao (it could be that the project is so bad it just gave up :-D) |
Can you check if the report paths make sense? |
Ah, it looks like istanbul is doing full paths in the lcov.info file:
I am guessing something more like |
I guess that will fine if you tune the test reporter with a |
Awesome - that worked. The instructions are not very clear, or my reading comprehension isn't that great :) (for future searchers) The output of the Everything works now locally. The important parts of
|
@robrohan Thank you, your feedback was very helpful! Here is our
Additionally to this, it is very important to configure The default value only fetches one commit, which result in coverage test failure as stated in #379 (comment), we figured a value of |
I am currently hitting this error while trying to setup code coverage for a typescript project using amazon code build:
The lcov file exists, and using it I can generate a local HTML report correctly - so things are at least mostly right. This error isn't really helping me understand what the uploader has a problem with. It would be nice if it gave possible ways to fix the issue - or even what it thinks 'coverage info' is or 'source files' (is it looking for the source maps? the ts files?)
I'll try to dig through the code and sort it out for myself, but It'd be nicer if it was clearer.
The text was updated successfully, but these errors were encountered: