File tree 4 files changed +60
-53
lines changed
4 files changed +60
-53
lines changed Original file line number Diff line number Diff line change
1
+ name : activerecord
2
+ on : [push]
3
+ jobs :
4
+ ubuntu :
5
+ runs-on : ubuntu-latest
6
+ continue-on-error : true
7
+ strategy :
8
+ matrix :
9
+ gemfile : [activerecord_4, activerecord_5, activerecord_6]
10
+ ruby : [2.5.7, 2.6.5, 2.7.2]
11
+ env :
12
+ BUNDLE_GEMFILE : gemfiles/${{ matrix.gemfile }}.gemfile
13
+ ADAPTER : active_record
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+ - name : Setup ruby
17
+ uses : ruby/setup-ruby@v1
18
+ with :
19
+ ruby-version : ${{ matrix.ruby }}
20
+ - run : sudo apt-get install -y libsqlite3-dev
21
+ - run : gem update --system
22
+ - run : gem install bundler
23
+ - run : gem --version
24
+ - run : bundle install
25
+ - name : Run Tests
26
+ run : |
27
+ bundle exec rake
Original file line number Diff line number Diff line change
1
+ name : mongoid
2
+ on : [push]
3
+ jobs :
4
+ ubuntu :
5
+ runs-on : ubuntu-latest
6
+ continue-on-error : true
7
+ services :
8
+ mongodb :
9
+ image : mongo:3.4.23
10
+ ports :
11
+ - 27017:27017
12
+ strategy :
13
+ matrix :
14
+ gemfile : [mongoid_5]
15
+ ruby : [2.5.7, 2.6.5, 2.7.2]
16
+ env :
17
+ BUNDLE_GEMFILE : gemfiles/${{ matrix.gemfile }}.gemfile
18
+ ADAPTER : mongoid
19
+ steps :
20
+ - uses : actions/checkout@v2
21
+ - name : Setup ruby
22
+ uses : ruby/setup-ruby@v1
23
+ with :
24
+ ruby-version : ${{ matrix.ruby }}
25
+ - run : sudo apt-get install -y libsqlite3-dev
26
+ - run : gem update --system
27
+ - run : gem install bundler
28
+ - run : gem --version
29
+ - run : bundle install
30
+ - name : Run Tests
31
+ run : |
32
+ bundle exec rake
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ RSpec::Core::RakeTask.new(:rolify) do |task|
15
15
task . pattern = 'spec/rolify/**/*_spec.rb'
16
16
end
17
17
18
- if !ENV [ "APPRAISAL_INITIALIZED" ] && !ENV [ "TRAVIS " ]
18
+ if !ENV [ "APPRAISAL_INITIALIZED" ] && !ENV [ "CI " ]
19
19
task :default => :appraisal
20
20
else
21
21
task :default => [ :spec , 'coveralls:push' ]
You can’t perform that action at this time.
0 commit comments