Skip to content

Conversation

@taketo1113
Copy link

This Pull Request adds GitHub Actions CI to run tests across multiple Ruby versions.
It also removes the non-functional Travis configuration.

Details

CI Matrix

The CI targets Ruby versions from 3.4 down to 2.5.
This replaces the existing Travis configuration and adds Ruby 3.0 - 3.4 to the test matrix.

Rails versions 7.0, 7.1, 7.2, and 8.0 have also been added to the CI targets.

Dependencies

The following gems, which have changed from default gems to bundled gems in Ruby 3.4 and later, have been added as development_dependency.
Bundled gems must be explicitly listed in the gemspec or Gemfile:

  • bigdecimal
  • mutex_m
  • ostruct
  • logger

References:

Additionally, concurrent-ruby v1.3.4 has been added for compatibility with Rails versions <= 7.1.
This addresses an error that occurs with Rails <= 7.1 and concurrent-ruby v1.3.5:

Fix Spec

  • Added spec/support/active_record_data/ files for Rails 7.0 - 8.0.
  • Introduced conditional branches for Rails 7.0 and above.
  • Fixed tests that were previously failing under supported environments.

Add GitHub Actions CI Workflow

Fix tests that were previously failing under supported environments
Remove legacy ActiveRecord::VERSION conditionals from tests

Add dependency of concurrent-ruby v1.3.4 to address error with rails 7.1

Add dependency of bigdecimal/mutex_m for CI

Update CI Matrix: ruby 3.0 - 3.4

Update CI Matrix: rails 7.0 - 8.0

Remove travis settings
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.

1 participant