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

CI doesn't accurately test everything #101

Closed
dissolve opened this issue Aug 27, 2018 · 6 comments
Closed

CI doesn't accurately test everything #101

dissolve opened this issue Aug 27, 2018 · 6 comments

Comments

@dissolve
Copy link
Collaborator

version 4.0.8 was able to be released and passed all CI tests, but it failed when testing on a different system as 'require "set"' was not in the code base... why do all tests pass despite this??

@jgarber623
Copy link
Member

Can you provide some extra system details? I just installed v4.0.8 on macOS 10.13.6 (gem install microformats -v 4.0.8) and was able to successfully use the CLI:

microformats https://sixtwothree.org

…without any errors.

@dissolve
Copy link
Collaborator Author

dissolve commented Aug 28, 2018 via email

@jgarber623
Copy link
Member

Okay, so after asking around, I think the problem breaks down to a misunderstanding on my part of the Ruby "core" vs. the "standard library."

Set is part of the standard library and would need to be included using require 'set' as you've done. Apologies on my part for having possibly introduced that problem.

That might be the resolution to this issue.

@dissolve
Copy link
Collaborator Author

Well it solved the issue, that's exactly what I did for 4.0.9.
The real issue here is that the CI server and my dev server (ubuntu) automatically included the standard libraries, while my personal machine (gentoo) after deploy did not. The goal is for the CI environment to be more strict and not auto-include standard libs as obviously not all systems do that.

@dissolve
Copy link
Collaborator Author

i think this can be closed now?

@jgarber623
Copy link
Member

i think this can be closed now?

@dissolve Yep, closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants