diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cab1ad3..70668de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,10 @@ name: CI -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: + branches: [master] jobs: test: @@ -11,18 +15,22 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.7", "3.0", "3.1", "3.2"] - gemfile: [rails_6.0, rails_6.1, rails_7.0, rails_7.1] + ruby: ["3.4", "3.3", "3.2", "3.1"] + gemfile: [rails_8.0, rails_7.2, rails_7.1, rails_7.0, rails_6.1] exclude: - ruby: "3.1" - gemfile: rails_6.0 - - ruby: "3.2" - gemfile: rails_6.0 + gemfile: rails_8.0 + - ruby: "3.4" + gemfile: rails_7.0 + - ruby: "3.4" + gemfile: rails_6.1 include: - ruby: "2.7" gemfile: rails_5.2 + - ruby: "3.0" + gemfile: rails_6.0 - ruby: head - gemfile: rails_7.0 + gemfile: rails_8.0 steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 diff --git a/Appraisals b/Appraisals index 8dfaf31..cebf9b9 100644 --- a/Appraisals +++ b/Appraisals @@ -1,4 +1,6 @@ %w( + 8.0 + 7.2 7.1 7.0 6.1 @@ -8,7 +10,7 @@ appraise "rails-#{version}" do gem "rails", "~> #{version}.0" - # NOTE: concurrent-ruby gem no longer loads the logger gem since v1.3.5. + # NOTE: The gem concurrent-ruby no longer loads the logger gem since v1.3.5. # More info: https://github.com/rails/rails/pull/54264 gem "concurrent-ruby", "< 1.3.5" end diff --git a/README.md b/README.md index d038b52..2b12cd7 100644 --- a/README.md +++ b/README.md @@ -339,7 +339,7 @@ $ bundle exec appraisal rspec Run specs against specific version: ``` -$ bundle exec appraisal rails-6.0 rspec +$ bundle exec appraisal rails-7.0 rspec ``` ### Demo diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..c7a2932 --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.2.0" +gem "concurrent-ruby", "< 1.3.5" + +gemspec path: "../" diff --git a/gemfiles/rails_8.0.gemfile b/gemfiles/rails_8.0.gemfile new file mode 100644 index 0000000..c5444d0 --- /dev/null +++ b/gemfiles/rails_8.0.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 8.0.0" +gem "concurrent-ruby", "< 1.3.5" + +gemspec path: "../"