Skip to content

Migrate from Travis CI to GitHub Actions with multi-Ruby version supp…#8

Merged
estepnv merged 8 commits into
masterfrom
updates
Feb 20, 2026
Merged

Migrate from Travis CI to GitHub Actions with multi-Ruby version supp…#8
estepnv merged 8 commits into
masterfrom
updates

Conversation

@estepnv
Copy link
Copy Markdown
Owner

@estepnv estepnv commented Feb 20, 2026

…ort and improved dependency management

estepnv added 8 commits February 20, 2026 20:51
- Require logger gem for Ruby 2.5+ (needed by ActiveRecord 6.0+)
- Make ActiveRecord version constraints more restrictive (6.0.0, 6.1.0, 5.2.0)
- Prevents Ruby 2.6 from getting ActiveRecord 6.1 which has stricter requirements
- Migrate from Travis CI to GitHub Actions
- Test against Ruby 2.4-3.3, head, and jruby-9.4 (2.2-2.3 allow failures)
- Add Ruby 2.5+ bundled gem compatibility (logger, mutex_m, base64, csv, erb, bigdecimal, drb)
- Fix ActiveRecord version constraints (5.2.0, 6.0.0, 6.1.0)
- Fix sqlite3 version for Ruby < 2.5 (use 1.3.0)
- Fix PostgreSQL tests with explicit database name
- Use activerecord-jdbcsqlite3-adapter 61.0 for ActiveRecord 6.1
- Use activerecord-jdbcsqlite3-adapter 60.0 for ActiveRecord 6.0
- Use activerecord-jdbcsqlite3-adapter 52.0 for ActiveRecord 5.2
- Replace pg_jruby with jdbc-postgres (correct gem name)
- Use pg ~> 0.21.0 for Ruby 2.2-2.3 (newer versions cause segfaults)
- Use pg ~> 1.0 for Ruby 2.4
- Use pg < 2.0 for Ruby 2.5+
- Add workflow comment noting Ruby 2.2-2.3 may have stability issues
- These versions won't block CI (continue-on-error: true)
- Ensures benchmark is loaded before ActiveRecord modules need it
- Fixes Ruby head CI failures with lazy-loaded modules
- Defensive approach to handle version-specific loading order
- Simplify by loading benchmark for Ruby 3.0+ instead of 3.3+
- Ensures it's available for Ruby head (4.x) without version detection issues
- Remove explicit requires from spec files (spec_helper handles it)
- More robust and simpler approach
- Upload coverage from Ruby 3.3 builds to Codecov
- Add Codecov badge to README
- Filter spec/ and vendor/ from coverage reports
- Replace Code Climate coverage badge with Codecov
@estepnv estepnv merged commit 4709754 into master Feb 20, 2026
10 of 12 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.

1 participant