Files
activeadmin-quill_editor/.github/workflows/specs_rails70.yml
Gleb Tv 194518dea4 fix: Improve backward compatibility for Rails 6 and Ruby 3.0+
- Lower Rails requirement from 7.0 to 6.0 for ActiveAdmin 2.9 compatibility
- Lower Ruby requirement from 3.2 to 3.0 for broader compatibility
- Update CI workflows to test with Ruby 3.0, 3.1, 3.2 where appropriate
- Maintain Ruby 3.2+ for ActiveAdmin 4 and Rails 8 tests
2025-09-24 12:58:40 +03:00

43 строки
842 B
YAML

---
name: Specs Rails 7.0
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0', '3.1', '3.2']
env:
RAILS_VERSION: 7.0
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Database setup
run: bin/rails db:create db:migrate db:test:prepare
- name: Run tests
run: bundle exec rspec --profile
- name: On failure, archive screenshots as artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: test-failed-screenshots
path: spec/dummy/tmp/screenshots