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
Shippable can't find testresults and testcoverage artifacts #163
Comments
@orendon We do not currently support html output for code coverage and unit tests. Code coverage needs to be in Cobertura formatted XML (or SimpleCov CSV for Ruby), and jUnit XML format for unit tests. Would it be possible for you to modify your project to output these formats and try the build again? |
@rageshkrishna just changed my formatters and it worked great, thanks 👍 Btw, you should add this to Shippable documentation |
@rageshkrishna I've been fighting with Code Coverage for Ruby. Can you please describe how you accomplished this? |
@ddarbyson We have a sample that does this: https://github.com/Shippable/sample_ruby You need to use simplecov and tell it to output the results as a CSV file in to the |
@rageshkrishna i've added the sample to my
When I click on Coverage inside my Shippable Lastest build status there are no reports. Any ideas? |
Ruby is a special case for us and we do try to pick up .CSV files. I'll update the documentation for this. The logs are telling me that the minion did indeed find some XML files inside the code coverage folder. It's possible that we're not properly cleaning up the shippable folder between builds. Can you please try adding this to your YML to confirm:
|
Removing the Back to my current issue, i'm afraid the Here is an output of my results directory:
|
Okay, figured it out, my Thanks for helping out, maybe you could add some verbosity warnings like |
@ddarbyson Glad this worked. We're currently working on a brand new release and all of these issues will be addressed. Thanks for the feedback. |
Test artifacts were generated properly, but Shippable can't find them
after_script
output:The files were created correctly, as seen on the screenshot, but Shippable keeps showing this on build details:
The text was updated successfully, but these errors were encountered: