Skip to content

Add Ruby 3.1 to CI #930

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

Merged
merged 1 commit into from
Jan 14, 2022
Merged

Add Ruby 3.1 to CI #930

merged 1 commit into from
Jan 14, 2022

Conversation

petergoldstein
Copy link
Contributor

No description provided.

@@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [2.4, 2.5, 2.6, 2.7, 3.0, jruby, jruby-head]
ruby: [2.4, 2.5, 2.6, 2.7, '3.0', 3.1, jruby, jruby-head]

Choose a reason for hiding this comment

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

@petergoldstein why quotes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Quotes are required around 3.0 because of how YAML parses floats. Without quotes, 3.0 gets treated as 3 - the additional precision is lost. And so It will attempt to load the latest Ruby version matching '3', which will be a 3.1 version.

To ensure 3.0 actually tests a Ruby 3.0.x you need to wrap it in quotes.

@petergoldstein
Copy link
Contributor Author

I'm not sure exactly why jruby-head is failing, but it appears unrelated.

@chrisseaton chrisseaton merged commit cf3a8ae into ruby-concurrency:master Jan 14, 2022
@chrisseaton
Copy link
Member

Thanks for the contribution. Sorry yes CI isn't always in a great state.

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.

3 participants