File tree Expand file tree Collapse file tree 5 files changed +16
-58
lines changed Expand file tree Collapse file tree 5 files changed +16
-58
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- name : Ruby 2.6
1+ name : 7x tests
22on :
33 push :
44 branches :
5- - main
5+ - 7.x
66 pull_request :
77 branches :
8- - main
8+ - 7.x
99 workflow_dispatch :
1010 branches :
1111 - ' *'
1616 RAILS_VERSIONS : ' 5.0,6.0'
1717 strategy :
1818 fail-fast : false
19+ matrix :
20+ ruby : [ '2.6', '2.7', '3.0' ]
1921 runs-on : ubuntu-latest
2022 steps :
21- - uses : actions/checkout@v2
23+ - uses : actions/checkout@v4
2224 - name : Increase system limits
2325 run : |
2426 sudo swapoff -a
@@ -30,11 +32,11 @@ jobs:
3032 stack-version : 7.x-SNAPSHOT
3133 - uses : ruby/setup-ruby@v1
3234 with :
33- ruby-version : 2.6
35+ ruby-version : ${{ matrix.ruby }}
3436 - name : Bundle
3537 run : |
3638 sudo apt-get install libsqlite3-dev
37- gem install bundler
39+ gem install bundler -v 2.4.22
3840 bundle install
3941 bundle exec rake bundle:clean
4042 bundle exec rake bundle:install
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ name: JRuby
22on :
33 push :
44 branches :
5- - main
5+ - 7.x
66 pull_request :
77 branches :
8- - main
8+ - 7.x
99 workflow_dispatch :
1010 branches :
1111 - ' *'
1616 RAILS_VERSIONS : ' 5.0,6.0'
1717 strategy :
1818 fail-fast : false
19+ matrix :
20+ ruby : [ 'jruby-9.3', 'jruby-9.4' ]
1921 runs-on : ubuntu-latest
2022 steps :
2123 - uses : actions/checkout@v2
@@ -27,13 +29,12 @@ jobs:
2729 sudo sysctl -w vm.max_map_count=262144
2830 - uses : elastic/elastic-github-actions/elasticsearch@master
2931 with :
30- stack-version : 7.x -SNAPSHOT
32+ stack-version : 7.17 -SNAPSHOT
3133 - uses : ruby/setup-ruby@v1
3234 with :
33- ruby-version : jruby-9.3
35+ ruby-version : ${{ matrix.ruby }}
3436 - name : Bundle
3537 run : |
36- sudo apt-get install libsqlite3-dev
3738 gem install bundler
3839 bundle install
3940 bundle exec rake bundle:clean
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ namespace :test do
5252 puts '-' * 80
5353 gemfiles . each do |gemfile |
5454 puts "GEMFILE: #{ gemfile } "
55+ sh "BUNDLE_GEMFILE='#{ File . expand_path ( "../gemfiles/#{ gemfile } " , __FILE__ ) } ' bundle install"
5556 sh "BUNDLE_GEMFILE='#{ File . expand_path ( "../gemfiles/#{ gemfile } " , __FILE__ ) } ' " \
5657 ' bundle exec rspec'
5758 puts '-' * 80
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ gemspec path: '../'
2626
2727gem 'activemodel', '~> 5'
2828gem 'activerecord', '~> 5'
29- gem 'sqlite3' unless defined?(JRUBY_VERSION)
29+ gem 'sqlite3', '> 1.3', '< 1.4' unless defined?(JRUBY_VERSION)
3030gem 'mongoid', '~> 6'
3131
3232group :development, :testing do
You can’t perform that action at this time.
0 commit comments