-
Notifications
You must be signed in to change notification settings - Fork 254
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
Check required Conan version #517
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contributioN!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few more comments, thanks!
Thanks for the feedback, I think it resulted in great improvements. Let me know if you see anything else! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks very much
f0e0788
to
7d39630
Compare
Merged, thanks for your contribution! |
Thanks!! I can squash things down a bit next time, wasn't sure if that was going to be automatic or not. |
Not necessary, it was my bad. I usually have the "Squash & merge" Github button activated, but this time I didn't realize it was just merging without squash. |
This adds a Conan version check so people don't get stuck trying to get this to work on an unsupported Conan version. Recently discussed in #512.
In addition to adding this functionality, I set up a rudimentary cmake unit test layer to validate Conan version parsing and version check scenarios. I see there's already some extensive test changes going on in #515, but I decided not to base this branch on that because it would make the diff harder to read. I did locate the tests in a
tests
subdir to try to follow the pattern from that pull request.Look at the previous checks to see temporary breaks in the minimum version and the unit tests to prove they work and fail GitHub Actions.
Anyway, this is my first contribution to the repo so I'm still learning. As always, I'm open to changes to make it better and conform to the codebase!