Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CI #92

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 23 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ jobs:
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
gemfile: [rails_5_2.gemfile, rails_6_0.gemfile, rails_6_1.gemfile, rails_7_0.gemfile, rails_7_1.gemfile, rails_7_2.gemfile, rails_main.gemfile]
ruby_version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
gemfile: [rails_5_2.gemfile, rails_6_0.gemfile, rails_6_1.gemfile, rails_7_0.gemfile, rails_7_1.gemfile, rails_7_2.gemfile, rails_8_0.gemfile, rails_main.gemfile]
ruby_version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
exclude:
- gemfile: rails_main.gemfile
ruby_version: '2.3'
Expand All @@ -25,6 +26,20 @@ jobs:
ruby_version: '3.0'
- gemfile: rails_main.gemfile
ruby_version: '3.1'
- gemfile: rails_8_0.gemfile
ruby_version: '2.3'
- gemfile: rails_8_0.gemfile
ruby_version: '2.4'
- gemfile: rails_8_0.gemfile
ruby_version: '2.5'
- gemfile: rails_8_0.gemfile
ruby_version: '2.6'
- gemfile: rails_8_0.gemfile
ruby_version: '2.7'
- gemfile: rails_8_0.gemfile
ruby_version: '3.0'
- gemfile: rails_8_0.gemfile
ruby_version: '3.1'
- gemfile: rails_7_2.gemfile
ruby_version: '2.3'
- gemfile: rails_7_2.gemfile
Expand Down Expand Up @@ -63,6 +78,8 @@ jobs:
ruby_version: '3.2'
- gemfile: rails_6_1.gemfile
ruby_version: '3.3'
- gemfile: rails_6_1.gemfile
ruby_version: '3.4'
- gemfile: rails_6_0.gemfile
ruby_version: '2.3'
- gemfile: rails_6_0.gemfile
Expand All @@ -75,6 +92,8 @@ jobs:
ruby_version: '3.2'
- gemfile: rails_6_0.gemfile
ruby_version: '3.3'
- gemfile: rails_6_0.gemfile
ruby_version: '3.4'
- gemfile: rails_5_2.gemfile
ruby_version: '3.0'
- gemfile: rails_5_2.gemfile
Expand All @@ -83,6 +102,8 @@ jobs:
ruby_version: '3.2'
- gemfile: rails_5_2.gemfile
ruby_version: '3.3'
- gemfile: rails_5_2.gemfile
ruby_version: '3.4'
env:
BUNDLE_GEMFILE: spec/gemfiles/${{ matrix.gemfile }}
steps:
Expand Down
1 change: 0 additions & 1 deletion spec/gemfiles/rails_5_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ source 'https://rubygems.org'
gemspec path: '../..'

gem 'rails', '~> 5.2.0'
gem 'sqlite3', '~> 1.4.4'
2 changes: 1 addition & 1 deletion spec/gemfiles/rails_7_2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ source 'https://rubygems.org'

gemspec path: '../..'

gem 'rails', '~> 7.2.0.beta2'
gem 'rails', '~> 7.2.0'
6 changes: 6 additions & 0 deletions spec/gemfiles/rails_8_0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gemspec path: '../..'

gem 'rails', '~> 8.0.0'
gem 'sqlite3', '~> 2.1.0'
2 changes: 1 addition & 1 deletion yaaf.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rspec', '~> 3.9.0'
spec.add_development_dependency 'rubocop', '~> 0.80.0'
spec.add_development_dependency 'simplecov', '~> 0.17.1'
spec.add_development_dependency 'sqlite3', '~> 1.5.0'
spec.add_development_dependency 'sqlite3', '~> 1.7.0'
end
Loading