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

required Ruby 2.7, add new CI workflow with graphql-ruby master branch #14

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

prog-supdex
Copy link
Contributor

Context

Required Ruby 2.7 and added a new workflow with checking graphql-ruby master branch

@prog-supdex prog-supdex requested a review from palkan October 30, 2023 16:03
@@ -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' ]
Copy link
Collaborator

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hm, okay, thanks :)
done

Copy link
Member

@palkan palkan left a 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.

Comment on lines +17 to +18
DATABASE_URL: postgres://postgres:postgres@localhost:5432
ELASTICSEARCH_URL: http://localhost:9200
Copy link
Member

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.

Copy link
Contributor Author

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

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