Skip to content

Conversation

numbata
Copy link
Collaborator

@numbata numbata commented Feb 22, 2025

This PR makes it easier for us to test the gem with different versions of grape and Ruby. By expanding our test matrix and updating the Gemfile, we can check that our changes work with a wider range of grape versions. This helps catch any issues early and ensures our gem stays compatible with future updates.

@numbata
Copy link
Collaborator Author

numbata commented Feb 23, 2025

132 successful checks

To much.

…ing of grape, grape-swagger, and grape-entity
- Test grape, grape-swagger, and grape-entity with one stable and one development version each.
- Reduce total combinations to improve speed and maintainability without sacrificing essential coverage.
@numbata
Copy link
Collaborator Author

numbata commented Feb 23, 2025

20 successful checks

Much better now.

Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

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

Thanks for doing this!

Personally I dislike having to use include and exclude to limit the exploding matrix. The one in Grape is particularly egregious (https://github.com/ruby-grape/grape/blob/master/.github/workflows/test.yml#L22). I much prefer explicit declarations like in https://github.com/slack-ruby/slack-ruby-client/blob/master/.github/workflows/test.yml#L8. Maybe someone feels as strongly as me about it ;)

@dblock dblock merged commit 94e3070 into ruby-grape:master Feb 23, 2025
20 checks passed
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