Skip to content

Commit

Permalink
Add Ruby 3.1 and Rails 7 to the CI matrix (ryanto#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
petergoldstein authored Jun 13, 2022
1 parent 8dfc83f commit a2004b1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@ jobs:
- gemfiles/rails_6_1.gemfile
continue-on-error:
- false
include:
- ruby: "3.0"
gemfile: gemfiles/rails_6_1.gemfile
os: ubuntu
continue-on-error: false
- ruby: 3.1
gemfile: gemfiles/rails_7_0.gemfile
os: ubuntu
continue-on-error: false

env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
Expand All @@ -41,4 +50,4 @@ jobs:
- name: Test
run: bundle exec rake spec

# use this
# use this
7 changes: 6 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ end
appraise "rails-6-1" do
gem "rails", "6.1.0"
gem "sqlite3", "~> 1.4"
end
end

appraise "rails-7-0" do
gem "rails", "~> 7.0.0"
gem "sqlite3", "~> 1.4"
end
8 changes: 8 additions & 0 deletions gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.0.0"
gem "sqlite3", "~> 1.4"

gemspec path: "../"

0 comments on commit a2004b1

Please sign in to comment.