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

Easier to maintain one or many old lockfiles with blend #744

Merged
merged 10 commits into from
Sep 12, 2024

Conversation

marpo60
Copy link
Contributor

@marpo60 marpo60 commented Apr 8, 2024

We have been working in blend an hex package to solve the following problem.
How do you run mix test against different version of the same dependency?

We saw that in surface there is the need to run tests against phoenix_live_view 0.19.x and 0.20.x.
This was solved by adding a mix.lock.old and running mv command in the CI

With blend we attempt to make it easier to maintain the current old lockfile, and at the same time leave the groundwork to make it trivial to test against more (2 or more) lockfiles in the future when a newer version of phoenix_live_view is out".

Let me know if this make sense or you have any feedback about it.

Currently the CI is failing for phoenix_live_view 0.20.14 but there is an open PR to fix that.

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

Successfully merging this pull request may close these issues.

2 participants