Skip to content

Stop using Travis CI and switch to GitHub Actions - #77

Open
willnet wants to merge 4 commits into
comfy:masterfrom
willnet:ci/github-actions-matrix
Open

Stop using Travis CI and switch to GitHub Actions#77
willnet wants to merge 4 commits into
comfy:masterfrom
willnet:ci/github-actions-matrix

Conversation

@willnet

@willnet willnet commented Sep 8, 2026

Copy link
Copy Markdown

We previously used Travis CI conveniently, but as of 2024, using Travis CI to build OSS requires contacting them to get a fixed amount of credits each month, making it cumbersome. I want to reduce the hassle by migrating from Travis CI to GitHub Actions.

As part of the migration to GitHub Actions, I've configured CI to support Ruby and Rails up to their latest versions.

Some tests failed due to dependency-related issues, but I'm resolving them all so they pass.

Here are the test results

willnet and others added 4 commits September 8, 2026 14:44
Modern minitest only defines Minitest::Test (lowercase "test"); the
old MiniTest::Test spelling raises NameError, which was breaking the
suite on newer Ruby/minitest combinations.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Extends the existing test/gemfiles/*.gemfile pattern (one gemfile per
minor Rails release, pinning actionpack) to cover the currently
supported Rails lines, up from the previous 5.0-5.2 only set.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Runs the test suite across the ruby/gemfile pairs each Rails line
actually supports (per fastruby.io's compatibility table), plus
experimental (allow-failure) legs on Ruby 4.0/head for the still
maintained Rails 8.0/8.1 lines. Also ignores the local *.gemfile.lock
files bundler generates per gemfile.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Two dependency-resolution issues broke every Rails 6.0/6.1 leg and every
Ruby 2.3/2.4 leg:

* concurrent-ruby 1.3.5 dropped its `require "logger"`, which ActiveSupport
  relied on until 7.1, so loading it raised NameError on
  ActiveSupport::LoggerThreadSafeLevel::Logger.
* loofah 2.21.1 needs Nokogiri::HTML4 (nokogiri >= 1.12, hence Ruby >= 2.5)
  while only declaring nokogiri >= 1.5.9, so bundler picked it alongside
  nokogiri 1.10 on Ruby 2.3/2.4 and loading it raised NameError on
  Nokogiri::HTML4.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant