From 7589336f2d816057da410d0cde883d267cd2a0f8 Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Thu, 1 Oct 2026 13:49:55 +0200 Subject: [PATCH 1/2] ci: drop EOL Rails 7.2 from the matrix Rails 7.2 reached end of life on 2026-08-09 (endoflife.date/rails), so the SQLite matrix now tests Rails 8.0 and 8.1 only. The ActiveAdmin 4 include leg that pinned Rails 7.2.0 goes with it. Both `exclude:` rules are also removed. Their stated reason -- "ActiveAdmin 3.2.0 predates Rails 8 support" -- is stale: the matrix pins `~> 3.2.0`, which resolves to activeadmin 3.2.5, and that installs and passes the suite on both Rails 8.0.5.1 and 8.1.4 (66 examples, 0 failures each). The rules were hiding working coverage. The two PostgreSQL jobs move from Rails 8.0.0 to 8.1.0, both verified locally against a real PostgreSQL. The MySQL job stays on 8.0.0, which is supported until 2026-11-07, so one DB-backed job still covers the oldest supported Rails. --- .github/workflows/test.yml | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf3b044..3332960 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,20 +17,10 @@ jobs: fail-fast: false matrix: ruby: ['3.3', '3.4', '4.0'] - rails: ['7.2.0', '8.0.0', '8.1.0'] + rails: ['8.0.0', '8.1.0'] activeadmin: ['3.2.0', '3.3.0', '3.4.0', '3.5.1'] - exclude: - # ActiveAdmin 3.2.0 predates Rails 8 support. - - rails: '8.0.0' - activeadmin: '3.2.0' - - rails: '8.1.0' - activeadmin: '3.2.0' include: - # ActiveAdmin 4 requires railties >= 7.2, so cover its floor and the - # newest supported Rails releases. - - ruby: '3.4' - rails: '7.2.0' - activeadmin: '4.0.0.beta22' + # ActiveAdmin 4 is covered on every supported Rails release. - ruby: '3.4' rails: '8.0.0' activeadmin: '4.0.0.beta22' @@ -54,6 +44,8 @@ jobs: - name: Run tests run: bundle exec rspec spec test-mysql: + # Kept on Rails 8.0 (supported until 2026-11-07) so one DB-backed job still + # covers the oldest supported Rails; the PostgreSQL jobs cover 8.1. name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / MySQL 8.0 runs-on: ubuntu-latest env: @@ -86,10 +78,10 @@ jobs: - name: Run tests run: bundle exec rspec spec test-postgres: - name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / PostgreSQL 16 + name: Ruby 3.4 / Rails 8.1.0 / AA 3.5.1 / PostgreSQL 16 runs-on: ubuntu-latest env: - RAILS: '8.0.0' + RAILS: '8.1.0' AA: '3.5.1' DB: postgres DB_HOST: 127.0.0.1 @@ -119,10 +111,10 @@ jobs: - name: Run tests run: bundle exec rspec spec test-postgres-aa4: - name: Ruby 3.4 / Rails 8.0.0 / AA 4.0.0.beta22 / PostgreSQL 16 + name: Ruby 3.4 / Rails 8.1.0 / AA 4.0.0.beta22 / PostgreSQL 16 runs-on: ubuntu-latest env: - RAILS: '8.0.0' + RAILS: '8.1.0' AA: '4.0.0.beta22' DB: postgres DB_HOST: 127.0.0.1 From 4dd1451116e0521b36c0ab104db5b6dec5dd3a89 Mon Sep 17 00:00:00 2001 From: Igor Fedoronchuk Date: Thu, 1 Oct 2026 14:11:49 +0200 Subject: [PATCH 2/2] ci: try the MySQL job on Rails 8.1 --- .github/workflows/test.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3332960..c4680e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,12 +44,10 @@ jobs: - name: Run tests run: bundle exec rspec spec test-mysql: - # Kept on Rails 8.0 (supported until 2026-11-07) so one DB-backed job still - # covers the oldest supported Rails; the PostgreSQL jobs cover 8.1. - name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / MySQL 8.0 + name: Ruby 3.4 / Rails 8.1.0 / AA 3.5.1 / MySQL 8.0 runs-on: ubuntu-latest env: - RAILS: '8.0.0' + RAILS: '8.1.0' AA: '3.5.1' DB: mysql DB_HOST: 127.0.0.1