-
Notifications
You must be signed in to change notification settings - Fork 120
Allow override of bundler version or resolve from lock file #114
Conversation
@helaili anything you would change on this? |
@helaili any other feedback? |
@helaili I added two cases cases where it would do what you outlined - I think it's correct? I also added asserting the bundler version matches either explicitly or from the lockfile. |
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 working on this @inverse. I have only reviewed the test generation so far but I'd like it to be properly run before I review the rest of this PR.
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
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.
Tests are not passing
Co-authored-by: Alain Hélaïli <helaili@github.com>
Tests are still failing. Trying to debug it, I've seen this line. Thing is You need to run the |
Ahh you're totally right 🙈
What do you mean by that? I don't follow? I pushed a change which instead does the following:
|
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.
I think it's getting closed. We can unfortunately publish and test in sequence as there is only one published site at a time, so the publish needs to happen after the last test and then we run the test.
Co-authored-by: Alain Hélaïli <helaili@github.com>
Co-authored-by: Alain Hélaïli <helaili@github.com>
@helaili good catch! how does the graph look now? https://github.com/helaili/jekyll-action/actions/runs/2296309955 |
@helaili I think I know why... So this test case is when we force install a newer version of bundler than what the application is bundled with. Yet the system has Not sure what a good test would be for this case? We would need to some how remove the system bundler version before for that test? I could remove that part and we just install the bundler version from the lockfile which probably covers the majority of cases... |
I'm removing the Gemfile.lock file during the Thanks for this contribution @inverse Tested in #132 |
@helaili That's for taking the time to explain 👍 |
Allow override of the default provided bundler from the image or resolve from
Gemfile.lock
if one exists.