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

Test gem under every supported Ruby version #200

Merged
merged 3 commits into from
Sep 4, 2023
Merged

Conversation

gchan
Copy link
Contributor

@gchan gchan commented Aug 31, 2023

Update build pipeline to run tests under multiple Ruby versions

All minor Ruby versions from 3.2 to 2.3 will be tested.

The gemspec says Ruby versions from 2.3.x are supported, however
some modern Ruby syntax was introduced which breaks compatibility
for older Ruby versions.

@gchan gchan force-pushed the test-multiple-ruby-versions branch 7 times, most recently from bae475a to 993b98a Compare August 31, 2023 22:38
@gchan gchan marked this pull request as ready for review August 31, 2023 22:39
@gchan gchan requested a review from a team as a code owner August 31, 2023 22:39
@gchan gchan force-pushed the test-multiple-ruby-versions branch 2 times, most recently from 214339b to 2a56f67 Compare August 31, 2023 22:41
- "gem install bundler:2.3.25"
- "bundle"
- "bundle exec rake"
soft_fail: true
Copy link
Contributor Author

@gchan gchan Aug 31, 2023

Choose a reason for hiding this comment

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

Temporarily allow these builds to fail. Remove when we restore compatibility.

All minor Ruby versions from 3.2 to 2.3 will be tested.

The gemspec says Ruby versions from 2.3.x are supported, however
some modern Ruby syntax was introduced which breaks compatibility
for older Ruby versions.
The image tag of the major.minor version points to the most recent
patch version.

For example '3.2' is the same as '3.2.2' (the latest patch version)
@gchan gchan force-pushed the test-multiple-ruby-versions branch 2 times, most recently from db1b6a9 to 59d7d7b Compare September 4, 2023 01:13
@gchan gchan merged commit bd0f588 into main Sep 4, 2023
@gchan gchan deleted the test-multiple-ruby-versions branch September 4, 2023 01:43
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