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 fabf582
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ If you need thread safety make sure that your implementation of `User.current_us

## Compatability

Blamer is tested to be compatible with Rails 5.x and 6.x. See version specific Installation
Blamer is tested to be compatible with Rails 5.x, 6.x, and 7.x. See version specific Installation
instructions below.

## Installation
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 fabf582

Please sign in to comment.