Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
fail-fast: false
matrix:
ruby: ['3.2', '3.3', '3.4']
rails: ['7.1.0', '7.2.0', '8.0.0']
rails: ['7.1.0', '7.2.0', '8.0.0', '8.1.0']
activeadmin: ['3.2.0', '3.5.0']
exclude:
# Active Admin 3.2 predates Rails 8 support.
- rails: '8.0.0'
activeadmin: '3.2.0'
- rails: '8.1.0'
activeadmin: '3.2.0'
env:
RAILS: ${{ matrix.rails }}
AA: ${{ matrix.activeadmin }}
Expand Down
7 changes: 7 additions & 0 deletions tasks/test.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,14 @@ desc 'Creates a test rails app for the specs to run against'
task :setup do
require 'rails/version'

# Rails 8.1 wires importmap-rails into the generated ApplicationController
# (stale_when_importmap_changes). This app runs on Sprockets, so that gem is
# absent and the controller raises NameError at boot, before any example.
# Skipping JavaScript stops the macro being generated; the Active Admin
# bundle the specs exercise comes from active_admin:install, not from
# rails new, so nothing the suite needs goes with it.
rails_new_args = %w[
--skip-javascript
--skip-turbolinks
--skip-spring
--skip-bootsnap
Expand Down
Loading