-
Notifications
You must be signed in to change notification settings - Fork 14
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
required Ruby 2.7, add new CI workflow with graphql-ruby master branch #14
base: master
Are you sure you want to change the base?
Conversation
.github/workflows/ruby.yml
Outdated
@@ -12,16 +12,16 @@ jobs: | |||
strategy: | |||
fail-fast: false | |||
matrix: | |||
ruby: [ '2.6', '2.7', '3.0' ] | |||
ruby: [ '2.7', '3.0', '3.1', '3.2' ] |
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.
2.7 is dead for 7 months already, maybe we can drop it too?
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.
hm, okay, thanks :)
done
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.
Added a comment.
And, rebase, please.
DATABASE_URL: postgres://postgres:postgres@localhost:5432 | ||
ELASTICSEARCH_URL: http://localhost:9200 |
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.
Why do we need these two? The setup must be similar to ruby.yml
, the only difference is the Gemfile.
And I'm not sure we need to extract this into a separate workflow; it can be another parameter in the ruby.yml
matrix.
Also, ruby_edge
is a confusing name; we're not testing against edge Ruby but graphql gem.
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.
Because in the matrix we put "head" ruby (for master ruby), and this ruby version puts RUBY_VERSION
to the docker file through env (it is default, like ci cd looks for ruby.yml).
So Docker doesn't know about the "head" ruby version.
Also, I couldn't find the image with the master ruby
About naming - OK, agree
Context
Required Ruby 2.7 and added a new workflow with checking graphql-ruby master branch