Skip to content

Commit 7589336

Browse files
committed
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.
1 parent 825bc17 commit 7589336

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,10 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
ruby: ['3.3', '3.4', '4.0']
20-
rails: ['7.2.0', '8.0.0', '8.1.0']
20+
rails: ['8.0.0', '8.1.0']
2121
activeadmin: ['3.2.0', '3.3.0', '3.4.0', '3.5.1']
22-
exclude:
23-
# ActiveAdmin 3.2.0 predates Rails 8 support.
24-
- rails: '8.0.0'
25-
activeadmin: '3.2.0'
26-
- rails: '8.1.0'
27-
activeadmin: '3.2.0'
2822
include:
29-
# ActiveAdmin 4 requires railties >= 7.2, so cover its floor and the
30-
# newest supported Rails releases.
31-
- ruby: '3.4'
32-
rails: '7.2.0'
33-
activeadmin: '4.0.0.beta22'
23+
# ActiveAdmin 4 is covered on every supported Rails release.
3424
- ruby: '3.4'
3525
rails: '8.0.0'
3626
activeadmin: '4.0.0.beta22'
@@ -54,6 +44,8 @@ jobs:
5444
- name: Run tests
5545
run: bundle exec rspec spec
5646
test-mysql:
47+
# Kept on Rails 8.0 (supported until 2026-11-07) so one DB-backed job still
48+
# covers the oldest supported Rails; the PostgreSQL jobs cover 8.1.
5749
name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / MySQL 8.0
5850
runs-on: ubuntu-latest
5951
env:
@@ -86,10 +78,10 @@ jobs:
8678
- name: Run tests
8779
run: bundle exec rspec spec
8880
test-postgres:
89-
name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / PostgreSQL 16
81+
name: Ruby 3.4 / Rails 8.1.0 / AA 3.5.1 / PostgreSQL 16
9082
runs-on: ubuntu-latest
9183
env:
92-
RAILS: '8.0.0'
84+
RAILS: '8.1.0'
9385
AA: '3.5.1'
9486
DB: postgres
9587
DB_HOST: 127.0.0.1
@@ -119,10 +111,10 @@ jobs:
119111
- name: Run tests
120112
run: bundle exec rspec spec
121113
test-postgres-aa4:
122-
name: Ruby 3.4 / Rails 8.0.0 / AA 4.0.0.beta22 / PostgreSQL 16
114+
name: Ruby 3.4 / Rails 8.1.0 / AA 4.0.0.beta22 / PostgreSQL 16
123115
runs-on: ubuntu-latest
124116
env:
125-
RAILS: '8.0.0'
117+
RAILS: '8.1.0'
126118
AA: '4.0.0.beta22'
127119
DB: postgres
128120
DB_HOST: 127.0.0.1

0 commit comments

Comments
 (0)