Skip to content

Commit

Permalink
add rails-7.0 test gemfile
Browse files Browse the repository at this point in the history
  • Loading branch information
infused committed Jun 1, 2022
1 parent 996c84e commit 8ecb0e8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,17 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- 2.5.9
gemfile:
- rails-5.1
- rails-5.2
- rails-6.0
- rails-6.1
include:
- ruby: 2.5.9
gemfile: rails-5.1
- ruby: 2.5.9
gemfile: rails-5.2
- ruby: 2.5.9
gemfile: rails-6.0
- ruby: 2.5.9
gemfile: rails-6.1
- ruby: 3.1.1
gemfile: rails-7.0
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}.gemfile

Expand All @@ -36,6 +40,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
rubygems: 3.2.3
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Run tests
Expand Down
11 changes: 11 additions & 0 deletions rails-7.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source 'https://rubygems.org'

gemspec

gem 'activerecord', '~> 7.0.0'

group :test do
gem 'rake'
gem 'sqlite3'
gem 'test-unit'
end

0 comments on commit 8ecb0e8

Please sign in to comment.