Skip to content

Commit

Permalink
* Update CI about ruby/rails versions
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Aug 13, 2024
1 parent 37e4ff9 commit ea6068e
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ jobs:
os:
- ubuntu
ruby:
- "3.2"
- "3.3"
gemfile:
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
- gemfiles/rails_7_2.gemfile
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
COVERALLS: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ jobs:
os:
- ubuntu
ruby:
- "3.0"
- "3.1"
- "3.2"
- "3.3"
gemfile:
- gemfiles/rails_6_0.gemfile
- gemfiles/rails_6_1.gemfile
- gemfiles/rails_7_0.gemfile
- gemfiles/rails_7_1.gemfile
- gemfiles/rails_7_2.gemfile
allow_failures:
- false
include:
Expand Down
19 changes: 11 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@

appraise "rails_6_0" do
version = "~> 6.0.0"
gem "activesupport", version
gem "actionpack", version
gem "activerecord", version
gem "railties", version
end

appraise "rails_6_1" do
version = "~> 6.1.0"
gem "activesupport", version
gem "actionpack", version
gem "activerecord", version
gem "railties", version
gem "sqlite3", "~> 1.3"
end

appraise "rails_7_0" do
Expand All @@ -21,6 +14,7 @@ appraise "rails_7_0" do
gem "actionpack", version
gem "activerecord", version
gem "railties", version
gem "sqlite3", "~> 1.3"
end

appraise "rails_7_1" do
Expand All @@ -29,4 +23,13 @@ appraise "rails_7_1" do
gem "actionpack", version
gem "activerecord", version
gem "railties", version
gem "sqlite3", "~> 1.3"
end

appraise "rails_7_2" do
version = "~> 7.2.0"
gem "activesupport", version
gem "actionpack", version
gem "activerecord", version
gem "railties", version
end
10 changes: 0 additions & 10 deletions gemfiles/rails_6_0.gemfile

This file was deleted.

1 change: 1 addition & 0 deletions gemfiles/rails_6_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ gem "activesupport", "~> 6.1.0"
gem "actionpack", "~> 6.1.0"
gem "activerecord", "~> 6.1.0"
gem "railties", "~> 6.1.0"
gem "sqlite3", "~> 1.3"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_7_0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ gem "activesupport", "~> 7.0.0"
gem "actionpack", "~> 7.0.0"
gem "activerecord", "~> 7.0.0"
gem "railties", "~> 7.0.0"
gem "sqlite3", "~> 1.3"

gemspec path: "../"
1 change: 1 addition & 0 deletions gemfiles/rails_7_1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ gem "activesupport", "~> 7.1.0"
gem "actionpack", "~> 7.1.0"
gem "activerecord", "~> 7.1.0"
gem "railties", "~> 7.1.0"
gem "sqlite3", "~> 1.3"

gemspec path: "../"
10 changes: 10 additions & 0 deletions gemfiles/rails_7_2.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 "activesupport", "~> 7.2.0"
gem "actionpack", "~> 7.2.0"
gem "activerecord", "~> 7.2.0"
gem "railties", "~> 7.2.0"

gemspec path: "../"

0 comments on commit ea6068e

Please sign in to comment.