-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test with current versions of Rails: 6.1, 7.0, 7.1. Drop end-of-life'd versions of rails: 5.2 and 6.0, and ruby 3.0. Prepare for upcoming (Rails 7.2? and) Ruby 3.4. Comment out three assertions related to open bug on deleted models.
- Loading branch information
Showing
19 changed files
with
972 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
name: Tests | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- '*' | ||
push: | ||
branches: | ||
- master | ||
- github-actions | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby: ['3.1', '3.2', '3.3'] | ||
gemfile: | ||
- rails_6_1 | ||
- rails_7 | ||
- rails_7_1 | ||
|
||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile | ||
BUNDLE_PATH_RELATIVE_TO_CWD: true | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Set up Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler: default | ||
bundler-cache: true | ||
rubygems: latest | ||
|
||
- name: Run tests | ||
env: | ||
RAILS_ENV: test | ||
run: | | ||
bundle exec rake setup | ||
bundle exec rake test |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
appraise 'rails_6_1' do | ||
gem 'rails', '~> 6.1' | ||
end | ||
|
||
appraise 'rails_7' do | ||
gem 'rails', '~> 7.0' | ||
end | ||
|
||
appraise 'rails_7_1' do | ||
gem 'rails', '~> 7.1' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 6.1" | ||
gem "coveralls", "~> 0.8.23", require: false | ||
|
||
group :development, :test do | ||
gem "sqlite3", "~> 1.4" | ||
end | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,253 @@ | ||
PATH | ||
remote: .. | ||
specs: | ||
merit (4.0.3) | ||
ambry (~> 1.0.0) | ||
zeitwerk | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actioncable (6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
nio4r (~> 2.0) | ||
websocket-driver (>= 0.6.1) | ||
actionmailbox (6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
activejob (= 6.1.7.8) | ||
activerecord (= 6.1.7.8) | ||
activestorage (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
mail (>= 2.7.1) | ||
actionmailer (6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
actionview (= 6.1.7.8) | ||
activejob (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
mail (~> 2.5, >= 2.5.4) | ||
rails-dom-testing (~> 2.0) | ||
actionpack (6.1.7.8) | ||
actionview (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
rack (~> 2.0, >= 2.0.9) | ||
rack-test (>= 0.6.3) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.0, >= 1.2.0) | ||
actiontext (6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
activerecord (= 6.1.7.8) | ||
activestorage (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
nokogiri (>= 1.8.5) | ||
actionview (6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
builder (~> 3.1) | ||
erubi (~> 1.4) | ||
rails-dom-testing (~> 2.0) | ||
rails-html-sanitizer (~> 1.1, >= 1.2.0) | ||
activejob (6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
globalid (>= 0.3.6) | ||
activemodel (6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
activerecord (6.1.7.8) | ||
activemodel (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
activestorage (6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
activejob (= 6.1.7.8) | ||
activerecord (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
marcel (~> 1.0) | ||
mini_mime (>= 1.1.0) | ||
activesupport (6.1.7.8) | ||
concurrent-ruby (~> 1.0, >= 1.0.2) | ||
i18n (>= 1.6, < 2) | ||
minitest (>= 5.1) | ||
tzinfo (~> 2.0) | ||
zeitwerk (~> 2.3) | ||
addressable (2.8.7) | ||
public_suffix (>= 2.0.2, < 7.0) | ||
ambry (1.0.0) | ||
appraisal (2.5.0) | ||
bundler | ||
rake | ||
thor (>= 0.14.0) | ||
ast (2.4.2) | ||
bigdecimal (3.1.8) | ||
builder (3.3.0) | ||
capybara (3.40.0) | ||
addressable | ||
matrix | ||
mini_mime (>= 0.1.3) | ||
nokogiri (~> 1.11) | ||
rack (>= 1.6.0) | ||
rack-test (>= 0.6.3) | ||
regexp_parser (>= 1.5, < 3.0) | ||
xpath (~> 3.2) | ||
concurrent-ruby (1.3.3) | ||
coveralls (0.8.23) | ||
json (>= 1.8, < 3) | ||
simplecov (~> 0.16.1) | ||
term-ansicolor (~> 1.3) | ||
thor (>= 0.19.4, < 2.0) | ||
tins (~> 1.6) | ||
crass (1.0.6) | ||
date (3.3.4) | ||
docile (1.4.0) | ||
erubi (1.13.0) | ||
globalid (1.2.1) | ||
activesupport (>= 6.1) | ||
i18n (1.14.5) | ||
concurrent-ruby (~> 1.0) | ||
json (2.7.2) | ||
language_server-protocol (3.17.0.3) | ||
loofah (2.22.0) | ||
crass (~> 1.0.2) | ||
nokogiri (>= 1.12.0) | ||
mail (2.8.1) | ||
mini_mime (>= 0.1.1) | ||
net-imap | ||
net-pop | ||
net-smtp | ||
marcel (1.0.4) | ||
matrix (0.4.2) | ||
method_source (1.1.0) | ||
mini_mime (1.1.5) | ||
minitest (5.24.1) | ||
minitest-rails (6.1.1) | ||
minitest (~> 5.10) | ||
railties (~> 6.1.0) | ||
mize (0.4.1) | ||
protocol (~> 2.0) | ||
mocha (2.4.0) | ||
ruby2_keywords (>= 0.0.5) | ||
net-imap (0.4.14) | ||
date | ||
net-protocol | ||
net-pop (0.1.2) | ||
net-protocol | ||
net-protocol (0.2.2) | ||
timeout | ||
net-smtp (0.5.0) | ||
net-protocol | ||
nio4r (2.7.3) | ||
nokogiri (1.16.6-arm64-darwin) | ||
racc (~> 1.4) | ||
parallel (1.25.1) | ||
parser (3.3.3.0) | ||
ast (~> 2.4.1) | ||
racc | ||
protocol (2.0.0) | ||
ruby_parser (~> 3.0) | ||
public_suffix (6.0.0) | ||
racc (1.8.0) | ||
rack (2.2.9) | ||
rack-test (2.1.0) | ||
rack (>= 1.3) | ||
rails (6.1.7.8) | ||
actioncable (= 6.1.7.8) | ||
actionmailbox (= 6.1.7.8) | ||
actionmailer (= 6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
actiontext (= 6.1.7.8) | ||
actionview (= 6.1.7.8) | ||
activejob (= 6.1.7.8) | ||
activemodel (= 6.1.7.8) | ||
activerecord (= 6.1.7.8) | ||
activestorage (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
bundler (>= 1.15.0) | ||
railties (= 6.1.7.8) | ||
sprockets-rails (>= 2.0.0) | ||
rails-dom-testing (2.2.0) | ||
activesupport (>= 5.0.0) | ||
minitest | ||
nokogiri (>= 1.6) | ||
rails-html-sanitizer (1.6.0) | ||
loofah (~> 2.21) | ||
nokogiri (~> 1.14) | ||
railties (6.1.7.8) | ||
actionpack (= 6.1.7.8) | ||
activesupport (= 6.1.7.8) | ||
method_source | ||
rake (>= 12.2) | ||
thor (~> 1.0) | ||
rainbow (3.1.1) | ||
rake (13.2.1) | ||
regexp_parser (2.9.2) | ||
rexml (3.3.1) | ||
strscan | ||
rubocop (1.64.1) | ||
json (~> 2.3) | ||
language_server-protocol (>= 3.17.0) | ||
parallel (~> 1.10) | ||
parser (>= 3.3.0.2) | ||
rainbow (>= 2.2.2, < 4.0) | ||
regexp_parser (>= 1.8, < 3.0) | ||
rexml (>= 3.2.5, < 4.0) | ||
rubocop-ast (>= 1.31.1, < 2.0) | ||
ruby-progressbar (~> 1.7) | ||
unicode-display_width (>= 2.4.0, < 3.0) | ||
rubocop-ast (1.31.3) | ||
parser (>= 3.3.1.0) | ||
ruby-progressbar (1.13.0) | ||
ruby2_keywords (0.0.5) | ||
ruby_parser (3.21.0) | ||
racc (~> 1.5) | ||
sexp_processor (~> 4.16) | ||
sexp_processor (4.17.1) | ||
simplecov (0.16.1) | ||
docile (~> 1.1) | ||
json (>= 1.8, < 3) | ||
simplecov-html (~> 0.10.0) | ||
simplecov-html (0.10.2) | ||
sprockets (4.2.1) | ||
concurrent-ruby (~> 1.0) | ||
rack (>= 2.2.4, < 4) | ||
sprockets-rails (3.5.1) | ||
actionpack (>= 6.1) | ||
activesupport (>= 6.1) | ||
sprockets (>= 3.0.0) | ||
sqlite3 (1.7.3-arm64-darwin) | ||
strscan (3.1.0) | ||
sync (0.5.0) | ||
term-ansicolor (1.10.2) | ||
mize | ||
tins (~> 1.0) | ||
thor (1.3.1) | ||
timeout (0.4.1) | ||
tins (1.33.0) | ||
bigdecimal | ||
sync | ||
tzinfo (2.0.6) | ||
concurrent-ruby (~> 1.0) | ||
unicode-display_width (2.5.0) | ||
webrick (1.8.1) | ||
websocket-driver (0.7.6) | ||
websocket-extensions (>= 0.1.0) | ||
websocket-extensions (0.1.5) | ||
xpath (3.2.0) | ||
nokogiri (~> 1.8) | ||
zeitwerk (2.6.16) | ||
|
||
PLATFORMS | ||
arm64-darwin | ||
x86_64-linux | ||
|
||
DEPENDENCIES | ||
appraisal | ||
capybara | ||
coveralls (~> 0.8.23) | ||
merit! | ||
minitest-rails | ||
mocha | ||
rails (~> 6.1) | ||
rubocop | ||
simplecov | ||
sqlite3 (~> 1.4) | ||
webrick | ||
|
||
BUNDLED WITH | ||
2.5.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "rails", "~> 7.0" | ||
gem "coveralls", "~> 0.8.23", require: false | ||
|
||
group :development, :test do | ||
gem "sqlite3", "~> 1.4" | ||
end | ||
|
||
gemspec path: "../" |
Oops, something went wrong.