Skip to content

Commit

Permalink
Add specific Gemfile for judoscale-rails against v7.1
Browse files Browse the repository at this point in the history
Update GH matrix to skip unsupported Ruby versions on Rails 7.2 as well,
(main Gemfile for now) since it requires Ruby 3.1+.
  • Loading branch information
carlosantoniodasilva committed Oct 14, 2024
1 parent 4ad8060 commit 7cb5114
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/judoscale-rails-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
matrix:
gemfile:
- Gemfile
- Gemfile-rails-7-1
- Gemfile-rails-7-0
- Gemfile-rails-6-1
ruby:
Expand All @@ -26,8 +27,14 @@ jobs:
exclude:
- gemfile: Gemfile
ruby: "2.6"
- gemfile: Gemfile
ruby: "2.7"
- gemfile: Gemfile
ruby: "3.0"
- gemfile: Gemfile-rails-7-0
ruby: "2.6"
- gemfile: Gemfile-rails-7-1
ruby: "2.6"
runs-on: ubuntu-latest
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: ${{ github.workspace }}/judoscale-rails/${{ matrix.gemfile }}
Expand Down
9 changes: 9 additions & 0 deletions judoscale-rails/Gemfile-rails-7-1
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
source "https://rubygems.org"

gemspec name: "judoscale-rails"

gem "judoscale-ruby", path: "../judoscale-ruby"
gem "railties", "~> 7.1"
gem "minitest"
gem "minitest-stub-const"
gem "rake"

0 comments on commit 7cb5114

Please sign in to comment.