Skip to content

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

Open
prog-supdex wants to merge 2 commits into
evilmartians:masterfrom
prog-supdex:add_new_workflow
Open

required Ruby 2.7, add new CI workflow with graphql-ruby master branch#14
prog-supdex wants to merge 2 commits into
evilmartians:masterfrom
prog-supdex:add_new_workflow

Conversation

@prog-supdex

Copy link
Copy Markdown
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
Comment thread .github/workflows/ruby.yml Outdated
fail-fast: false
matrix:
ruby: [ '2.6', '2.7', '3.0' ]
ruby: [ '2.7', '3.0', '3.1', '3.2' ]

Copy link
Copy Markdown
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
Copy Markdown
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

@palkan palkan left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown
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