Skip to content

Run tests against different live view versions#17

Merged
dbernheisel merged 4 commits intodbernheisel:mainfrom
Flo0807:test-against-different-lv-versions
Dec 29, 2024
Merged

Run tests against different live view versions#17
dbernheisel merged 4 commits intodbernheisel:mainfrom
Flo0807:test-against-different-lv-versions

Conversation

@Flo0807
Copy link
Contributor

@Flo0807 Flo0807 commented Dec 29, 2024

phoenix_seo depends on LiveView >= 18. Since v0.18, there have been several minor releases as well as the 1.0 major release. For this reason, it makes sense to run tests against different LiveView versions to make sure the package behaves as expected. Currently, the CI only tests against the version specified in the mix.lock file, which is 1.0.1.

I recently discovered the blend package which allows maintainers to run tests against different versions of their dependencies.

This PR installs and configures the blend package to run tests against different LiveView versions (0.18, 0.19 and 0.20). I've also added another CI job to test against these versions.

For installation and configuration, I followed the installation and usage instructions from the Blend README: https://github.com/mimiquate/blend/blob/main/README.md#installation

Copy link
Owner

@dbernheisel dbernheisel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I appreciate that!

@dbernheisel dbernheisel merged commit cc2879c into dbernheisel:main Dec 29, 2024
3 checks passed
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