test: Update ruby versions in specs workflows

Этот коммит содержится в:
Mattia Roccoberton
2025-03-17 08:22:38 +01:00
родитель 0fdb99bde7
Коммит 7aa164184b
4 изменённых файлов: 215 добавлений и 156 удалений

2
.github/workflows/specs_rails61.yml поставляемый
Просмотреть файл

@@ -15,7 +15,7 @@ jobs:
strategy: strategy:
matrix: matrix:
ruby: ['3.0', '3.1', '3.2'] ruby: ['3.2']
gemfile: ['rails61_activeadmin29', 'rails61_activeadmin'] gemfile: ['rails61_activeadmin29', 'rails61_activeadmin']
env: env:

2
.github/workflows/specs_rails70.yml поставляемый
Просмотреть файл

@@ -15,7 +15,7 @@ jobs:
strategy: strategy:
matrix: matrix:
ruby: ['3.0', '3.1', '3.2'] ruby: ['3.0', '3.3']
gemfile: ['rails70_activeadmin'] gemfile: ['rails70_activeadmin']
env: env:

42
.github/workflows/specs_rails71.yml поставляемый Обычный файл
Просмотреть файл

@@ -0,0 +1,42 @@
---
name: Specs Rails 7.1
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2', '3.4']
gemfile: ['rails71_activeadmin']
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
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: 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

Просмотреть файл

@@ -7,35 +7,35 @@ PATH
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (7.1.3.2) actioncable (7.1.5.1)
actionpack (= 7.1.3.2) actionpack (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
zeitwerk (~> 2.6) zeitwerk (~> 2.6)
actionmailbox (7.1.3.2) actionmailbox (7.1.5.1)
actionpack (= 7.1.3.2) actionpack (= 7.1.5.1)
activejob (= 7.1.3.2) activejob (= 7.1.5.1)
activerecord (= 7.1.3.2) activerecord (= 7.1.5.1)
activestorage (= 7.1.3.2) activestorage (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
mail (>= 2.7.1) mail (>= 2.7.1)
net-imap net-imap
net-pop net-pop
net-smtp net-smtp
actionmailer (7.1.3.2) actionmailer (7.1.5.1)
actionpack (= 7.1.3.2) actionpack (= 7.1.5.1)
actionview (= 7.1.3.2) actionview (= 7.1.5.1)
activejob (= 7.1.3.2) activejob (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
net-imap net-imap
net-pop net-pop
net-smtp net-smtp
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
actionpack (7.1.3.2) actionpack (7.1.5.1)
actionview (= 7.1.3.2) actionview (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
racc racc
rack (>= 2.2.4) rack (>= 2.2.4)
@@ -43,21 +43,22 @@ GEM
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6) rails-html-sanitizer (~> 1.6)
actiontext (7.1.3.2) actiontext (7.1.5.1)
actionpack (= 7.1.3.2) actionpack (= 7.1.5.1)
activerecord (= 7.1.3.2) activerecord (= 7.1.5.1)
activestorage (= 7.1.3.2) activestorage (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
globalid (>= 0.6.0) globalid (>= 0.6.0)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (7.1.3.2) actionview (7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.11) erubi (~> 1.11)
rails-dom-testing (~> 2.2) rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6) rails-html-sanitizer (~> 1.6)
activeadmin (3.2.0) activeadmin (3.3.0)
arbre (~> 1.2, >= 1.2.1) arbre (~> 1.2, >= 1.2.1)
csv
formtastic (>= 3.1) formtastic (>= 3.1)
formtastic_i18n (>= 0.4) formtastic_i18n (>= 0.4)
inherited_resources (~> 1.7) inherited_resources (~> 1.7)
@@ -65,33 +66,36 @@ GEM
kaminari (>= 1.2.1) kaminari (>= 1.2.1)
railties (>= 6.1) railties (>= 6.1)
ransack (>= 4.0) ransack (>= 4.0)
activejob (7.1.3.2) activejob (7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (7.1.3.2) activemodel (7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
activerecord (7.1.3.2) activerecord (7.1.5.1)
activemodel (= 7.1.3.2) activemodel (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
timeout (>= 0.4.0) timeout (>= 0.4.0)
activestorage (7.1.3.2) activestorage (7.1.5.1)
actionpack (= 7.1.3.2) actionpack (= 7.1.5.1)
activejob (= 7.1.3.2) activejob (= 7.1.5.1)
activerecord (= 7.1.3.2) activerecord (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
marcel (~> 1.0) marcel (~> 1.0)
activesupport (7.1.3.2) activesupport (7.1.5.1)
base64 base64
benchmark (>= 0.3)
bigdecimal bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5) connection_pool (>= 2.2.5)
drb drb
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1) minitest (>= 5.1)
mutex_m mutex_m
securerandom (>= 0.3)
tzinfo (~> 2.0) tzinfo (~> 2.0)
addressable (2.8.6) addressable (2.8.7)
public_suffix (>= 2.0.2, < 6.0) public_suffix (>= 2.0.2, < 7.0)
appraisal (2.5.0) appraisal (2.5.0)
bundler bundler
rake rake
@@ -101,8 +105,9 @@ GEM
ruby2_keywords (>= 0.0.2) ruby2_keywords (>= 0.0.2)
ast (2.4.2) ast (2.4.2)
base64 (0.2.0) base64 (0.2.0)
bigdecimal (3.1.6) benchmark (0.4.0)
builder (3.2.4) bigdecimal (3.1.9)
builder (3.3.0)
capybara (3.40.0) capybara (3.40.0)
addressable addressable
matrix matrix
@@ -113,25 +118,26 @@ GEM
regexp_parser (>= 1.5, < 3.0) regexp_parser (>= 1.5, < 3.0)
xpath (~> 3.2) xpath (~> 3.2)
coderay (1.1.3) coderay (1.1.3)
concurrent-ruby (1.2.3) concurrent-ruby (1.3.5)
connection_pool (2.4.1) connection_pool (2.5.0)
crass (1.0.6) crass (1.0.6)
cuprite (0.15) csv (3.3.2)
cuprite (0.15.1)
capybara (~> 3.0) capybara (~> 3.0)
ferrum (~> 0.14.0) ferrum (~> 0.15.0)
date (3.3.4) date (3.4.1)
diff-lcs (1.5.1) diff-lcs (1.6.0)
drb (2.2.0) drb (2.2.1)
ruby2_keywords erubi (1.13.1)
erubi (1.12.0)
fasterer (0.11.0) fasterer (0.11.0)
ruby_parser (>= 3.19.1) ruby_parser (>= 3.19.1)
ferrum (0.14) ferrum (0.15)
addressable (~> 2.5) addressable (~> 2.5)
concurrent-ruby (~> 1.1) concurrent-ruby (~> 1.1)
webrick (~> 1.7) webrick (~> 1.7)
websocket-driver (>= 0.6, < 0.8) websocket-driver (~> 0.7)
ffi (1.16.3) ffi (1.17.1-arm64-darwin)
ffi (1.17.1-x86_64-linux-gnu)
formtastic (5.0.0) formtastic (5.0.0)
actionpack (>= 6.0.0) actionpack (>= 6.0.0)
formtastic_i18n (0.7.0) formtastic_i18n (0.7.0)
@@ -140,22 +146,23 @@ GEM
has_scope (0.8.2) has_scope (0.8.2)
actionpack (>= 5.2) actionpack (>= 5.2)
activesupport (>= 5.2) activesupport (>= 5.2)
i18n (1.14.1) i18n (1.14.7)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
inherited_resources (1.14.0) inherited_resources (1.14.0)
actionpack (>= 6.0) actionpack (>= 6.0)
has_scope (>= 0.6) has_scope (>= 0.6)
railties (>= 6.0) railties (>= 6.0)
responders (>= 2) responders (>= 2)
io-console (0.7.2) io-console (0.8.0)
irb (1.11.2) irb (1.15.1)
rdoc pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2) reline (>= 0.4.2)
jquery-rails (4.6.0) jquery-rails (4.6.0)
rails-dom-testing (>= 1, < 3) rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0) railties (>= 4.2.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
json (2.7.1) json (2.10.2)
kaminari (1.2.2) kaminari (1.2.2)
activesupport (>= 4.1.0) activesupport (>= 4.1.0)
kaminari-actionview (= 1.2.2) kaminari-actionview (= 1.2.2)
@@ -168,8 +175,10 @@ GEM
activerecord activerecord
kaminari-core (= 1.2.2) kaminari-core (= 1.2.2)
kaminari-core (1.2.2) kaminari-core (1.2.2)
language_server-protocol (3.17.0.3) language_server-protocol (3.17.0.4)
loofah (2.22.0) lint_roller (1.1.0)
logger (1.6.6)
loofah (2.24.0)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.12.0) nokogiri (>= 1.12.0)
mail (2.8.1) mail (2.8.1)
@@ -177,175 +186,183 @@ GEM
net-imap net-imap
net-pop net-pop
net-smtp net-smtp
marcel (1.0.2) marcel (1.0.4)
matrix (0.4.2) matrix (0.4.2)
method_source (1.0.0) method_source (1.1.0)
mini_mime (1.1.5) mini_mime (1.1.5)
minitest (5.22.2) minitest (5.25.5)
mutex_m (0.2.0) mutex_m (0.3.0)
net-imap (0.4.10) net-imap (0.5.6)
date date
net-protocol net-protocol
net-pop (0.1.2) net-pop (0.1.2)
net-protocol net-protocol
net-protocol (0.2.2) net-protocol (0.2.2)
timeout timeout
net-smtp (0.4.0.1) net-smtp (0.5.1)
net-protocol net-protocol
nio4r (2.7.0) nio4r (2.7.4)
nokogiri (1.16.2-arm64-darwin) nokogiri (1.18.4-arm64-darwin)
racc (~> 1.4) racc (~> 1.4)
parallel (1.24.0) nokogiri (1.18.4-x86_64-linux-gnu)
parser (3.3.0.5) racc (~> 1.4)
parallel (1.26.3)
parser (3.3.7.1)
ast (~> 2.4.1) ast (~> 2.4.1)
racc racc
pry (0.14.2) pp (0.6.2)
prettyprint
prettyprint (0.2.0)
pry (0.15.2)
coderay (~> 1.1) coderay (~> 1.1)
method_source (~> 1.0) method_source (~> 1.0)
pry-rails (0.3.9) pry-rails (0.3.11)
pry (>= 0.10.4) pry (>= 0.13.0)
psych (5.1.2) psych (5.2.3)
date
stringio stringio
public_suffix (5.0.4) public_suffix (6.0.1)
puma (6.4.2) puma (6.6.0)
nio4r (~> 2.0) nio4r (~> 2.0)
racc (1.7.3) racc (1.8.1)
rack (3.0.9.1) rack (3.1.12)
rack-session (2.0.0) rack-session (2.1.0)
base64 (>= 0.1.0)
rack (>= 3.0.0) rack (>= 3.0.0)
rack-test (2.1.0) rack-test (2.2.0)
rack (>= 1.3) rack (>= 1.3)
rackup (2.1.0) rackup (2.2.1)
rack (>= 3) rack (>= 3)
webrick (~> 1.8) rails (7.1.5.1)
rails (7.1.3.2) actioncable (= 7.1.5.1)
actioncable (= 7.1.3.2) actionmailbox (= 7.1.5.1)
actionmailbox (= 7.1.3.2) actionmailer (= 7.1.5.1)
actionmailer (= 7.1.3.2) actionpack (= 7.1.5.1)
actionpack (= 7.1.3.2) actiontext (= 7.1.5.1)
actiontext (= 7.1.3.2) actionview (= 7.1.5.1)
actionview (= 7.1.3.2) activejob (= 7.1.5.1)
activejob (= 7.1.3.2) activemodel (= 7.1.5.1)
activemodel (= 7.1.3.2) activerecord (= 7.1.5.1)
activerecord (= 7.1.3.2) activestorage (= 7.1.5.1)
activestorage (= 7.1.3.2) activesupport (= 7.1.5.1)
activesupport (= 7.1.3.2)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 7.1.3.2) railties (= 7.1.5.1)
rails-dom-testing (2.2.0) rails-dom-testing (2.2.0)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
minitest minitest
nokogiri (>= 1.6) nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0) rails-html-sanitizer (1.6.2)
loofah (~> 2.21) loofah (~> 2.21)
nokogiri (~> 1.14) nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
railties (7.1.3.2) railties (7.1.5.1)
actionpack (= 7.1.3.2) actionpack (= 7.1.5.1)
activesupport (= 7.1.3.2) activesupport (= 7.1.5.1)
irb irb
rackup (>= 1.0.0) rackup (>= 1.0.0)
rake (>= 12.2) rake (>= 12.2)
thor (~> 1.0, >= 1.2.2) thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6) zeitwerk (~> 2.6)
rainbow (3.1.1) rainbow (3.1.1)
rake (13.1.0) rake (13.2.1)
ransack (4.1.1) ransack (4.3.0)
activerecord (>= 6.1.5) activerecord (>= 6.1.5)
activesupport (>= 6.1.5) activesupport (>= 6.1.5)
i18n i18n
rdoc (6.6.2) rdoc (6.12.0)
psych (>= 4.0.0) psych (>= 4.0.0)
regexp_parser (2.9.0) regexp_parser (2.10.0)
reline (0.4.3) reline (0.6.0)
io-console (~> 0.5) io-console (~> 0.5)
responders (3.1.1) responders (3.1.1)
actionpack (>= 5.2) actionpack (>= 5.2)
railties (>= 5.2) railties (>= 5.2)
rexml (3.2.6) rspec-core (3.13.3)
rspec-core (3.13.0)
rspec-support (~> 3.13.0) rspec-support (~> 3.13.0)
rspec-expectations (3.13.0) rspec-expectations (3.13.3)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0) rspec-support (~> 3.13.0)
rspec-mocks (3.13.0) rspec-mocks (3.13.2)
diff-lcs (>= 1.2.0, < 2.0) diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0) rspec-support (~> 3.13.0)
rspec-rails (6.1.1) rspec-rails (7.1.1)
actionpack (>= 6.1) actionpack (>= 7.0)
activesupport (>= 6.1) activesupport (>= 7.0)
railties (>= 6.1) railties (>= 7.0)
rspec-core (~> 3.12) rspec-core (~> 3.13)
rspec-expectations (~> 3.12) rspec-expectations (~> 3.13)
rspec-mocks (~> 3.12) rspec-mocks (~> 3.13)
rspec-support (~> 3.12) rspec-support (~> 3.13)
rspec-retry (0.6.2) rspec-retry (0.6.2)
rspec-core (> 3.3) rspec-core (> 3.3)
rspec-support (3.13.1) rspec-support (3.13.2)
rspec_junit_formatter (0.6.0) rspec_junit_formatter (0.6.0)
rspec-core (>= 2, < 4, != 2.12.0) rspec-core (>= 2, < 4, != 2.12.0)
rubocop (1.60.2) rubocop (1.74.0)
json (~> 2.3) json (~> 2.3)
language_server-protocol (>= 3.17.0) language_server-protocol (~> 3.17.0.2)
lint_roller (~> 1.1.0)
parallel (~> 1.10) parallel (~> 1.10)
parser (>= 3.3.0.2) parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0) rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0) regexp_parser (>= 2.9.3, < 3.0)
rexml (>= 3.2.5, < 4.0) rubocop-ast (>= 1.38.0, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0)
ruby-progressbar (~> 1.7) ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0) unicode-display_width (>= 2.4.0, < 4.0)
rubocop-ast (1.30.0) rubocop-ast (1.39.0)
parser (>= 3.2.1.0) parser (>= 3.3.1.0)
rubocop-capybara (2.20.0)
rubocop (~> 1.41)
rubocop-factory_bot (2.25.1)
rubocop (~> 1.41)
rubocop-packaging (0.5.2) rubocop-packaging (0.5.2)
rubocop (>= 1.33, < 2.0) rubocop (>= 1.33, < 2.0)
rubocop-performance (1.20.2) rubocop-performance (1.24.0)
rubocop (>= 1.48.1, < 2.0) lint_roller (~> 1.1)
rubocop-ast (>= 1.30.0, < 2.0) rubocop (>= 1.72.1, < 2.0)
rubocop-rails (2.23.1) rubocop-ast (>= 1.38.0, < 2.0)
rubocop-rails (2.30.3)
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
lint_roller (~> 1.1)
rack (>= 1.1) rack (>= 1.1)
rubocop (>= 1.33.0, < 2.0) rubocop (>= 1.72.1, < 2.0)
rubocop-ast (>= 1.30.0, < 2.0) rubocop-ast (>= 1.38.0, < 2.0)
rubocop-rspec (2.26.1) rubocop-rspec (3.5.0)
rubocop (~> 1.40) lint_roller (~> 1.1)
rubocop-capybara (~> 2.17) rubocop (~> 1.72, >= 1.72.1)
rubocop-factory_bot (~> 2.22)
ruby-progressbar (1.13.0) ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5) ruby2_keywords (0.0.5)
ruby_parser (3.21.0) ruby_parser (3.21.1)
racc (~> 1.5) racc (~> 1.5)
sexp_processor (~> 4.16) sexp_processor (~> 4.16)
sassc (2.4.0) sassc (2.4.0)
ffi (~> 1.9) ffi (~> 1.9)
sexp_processor (4.17.1) securerandom (0.4.1)
sexp_processor (4.17.3)
sprockets (4.2.1) sprockets (4.2.1)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (>= 2.2.4, < 4) rack (>= 2.2.4, < 4)
sprockets-rails (3.4.2) sprockets-rails (3.5.2)
actionpack (>= 5.2) actionpack (>= 6.1)
activesupport (>= 5.2) activesupport (>= 6.1)
sprockets (>= 3.0.0) sprockets (>= 3.0.0)
sqlite3 (1.7.2-arm64-darwin) sqlite3 (2.6.0-arm64-darwin)
stringio (3.1.0) sqlite3 (2.6.0-x86_64-linux-gnu)
thor (1.3.0) stringio (3.1.5)
timeout (0.4.1) thor (1.3.2)
timeout (0.4.3)
tzinfo (2.0.6) tzinfo (2.0.6)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
unicode-display_width (2.5.0) unicode-display_width (3.1.4)
webrick (1.8.1) unicode-emoji (~> 4.0, >= 4.0.4)
websocket-driver (0.7.6) unicode-emoji (4.0.4)
webrick (1.9.1)
websocket-driver (0.7.7)
base64
websocket-extensions (>= 0.1.0) websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5) websocket-extensions (0.1.5)
xpath (3.2.0) xpath (3.2.0)
nokogiri (~> 1.8) nokogiri (~> 1.8)
zeitwerk (2.6.13) zeitwerk (2.7.2)
PLATFORMS PLATFORMS
arm64-darwin-23 arm64-darwin-23
x86_64-linux
DEPENDENCIES DEPENDENCIES
activeadmin activeadmin