Skip to content

Commit

Permalink
Run tests on rails8 (#444)
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE authored Nov 22, 2024
2 parents 4a6500f + a1710dd commit a1fa197
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
os:
- ubuntu
ruby:
- 3.0
- "3.0"
- 3.1
- 3.2
- 3.3
Expand All @@ -36,12 +36,26 @@ jobs:
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
- gemfiles/rails_7_2.gemfile
- gemfiles/rails_8_0.gemfile
allow_failures:
- false
exclude:
- os: ubuntu
ruby: "3.0"
gemfile: gemfiles/rails_7_2.gemfile
- os: ubuntu
ruby: "3.0"
gemfile: gemfiles/rails_8_0.gemfile
- os: ubuntu
ruby: 3.1
gemfile: gemfiles/rails_8_0.gemfile
- os: ubuntu
ruby: jruby
gemfile: gemfiles/rails_8_0.gemfile
include:
- os: ubuntu
ruby: ruby-head
gemfile: gemfiles/rails_7_2.gemfile
gemfile: gemfiles/rails_8_0.gemfile
allow_failures: true
- os: ubuntu
ruby: jruby-head
Expand Down
4 changes: 4 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ end
appraise "rails_7_2" do
gem "rails", "~> 7.2.0"
end

appraise "rails_8_0" do
gem "rails", "~> 8.0.0"
end
10 changes: 10 additions & 0 deletions gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rcov", platforms: :mri_18, group: [:development, :test]
gem "simplecov", platforms: [:jruby, :mri_19, :ruby_19, :mri_20, :rbx], group: [:development, :test], require: false
gem "jruby-openssl", platform: :jruby
gem "rails", "~> 8.0.0"

gemspec path: "../"

0 comments on commit a1fa197

Please sign in to comment.