Skip to content

Commit 0807b1d

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 0807b1d

1 file changed

Lines changed: 8 additions & 18 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 8 additions & 18 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,10 +44,10 @@ jobs:
5444
- name: Run tests
5545
run: bundle exec rspec spec
5646
test-mysql:
57-
name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / MySQL 8.0
47+
name: Ruby 3.4 / Rails 8.1.0 / AA 3.5.1 / MySQL 8.0
5848
runs-on: ubuntu-latest
5949
env:
60-
RAILS: '8.0.0'
50+
RAILS: '8.1.0'
6151
AA: '3.5.1'
6252
DB: mysql
6353
DB_HOST: 127.0.0.1
@@ -86,10 +76,10 @@ jobs:
8676
- name: Run tests
8777
run: bundle exec rspec spec
8878
test-postgres:
89-
name: Ruby 3.4 / Rails 8.0.0 / AA 3.5.1 / PostgreSQL 16
79+
name: Ruby 3.4 / Rails 8.1.0 / AA 3.5.1 / PostgreSQL 16
9080
runs-on: ubuntu-latest
9181
env:
92-
RAILS: '8.0.0'
82+
RAILS: '8.1.0'
9383
AA: '3.5.1'
9484
DB: postgres
9585
DB_HOST: 127.0.0.1
@@ -119,10 +109,10 @@ jobs:
119109
- name: Run tests
120110
run: bundle exec rspec spec
121111
test-postgres-aa4:
122-
name: Ruby 3.4 / Rails 8.0.0 / AA 4.0.0.beta22 / PostgreSQL 16
112+
name: Ruby 3.4 / Rails 8.1.0 / AA 4.0.0.beta22 / PostgreSQL 16
123113
runs-on: ubuntu-latest
124114
env:
125-
RAILS: '8.0.0'
115+
RAILS: '8.1.0'
126116
AA: '4.0.0.beta22'
127117
DB: postgres
128118
DB_HOST: 127.0.0.1

0 commit comments

Comments
 (0)