File tree 4 files changed +54
-33
lines changed
4 files changed +54
-33
lines changed Original file line number Diff line number Diff line change
1
+ name : Continuous Integration
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ - main
8
+ - " *-stable"
9
+ pull_request :
10
+ branches :
11
+ - master
12
+ - main
13
+ - " *-stable"
14
+
15
+ jobs :
16
+ ci :
17
+ name : " Run Tests (${{ matrix.label }})"
18
+ runs-on : " ubuntu-latest"
19
+ env :
20
+ # See https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby#matrix-of-gemfiles
21
+ BUNDLE_GEMFILE : ${{ matrix.gemfile }}
22
+ strategy :
23
+ fail-fast : false
24
+ matrix :
25
+ include :
26
+ - label : Ruby 2.7
27
+ ruby_version : " 2.7"
28
+ gemfile : Gemfile
29
+ - label : Ruby 3.0
30
+ ruby_version : " 3.0"
31
+ gemfile : Gemfile
32
+ - label : Ruby 3.1
33
+ ruby_version : " 3.1"
34
+ gemfile : Gemfile
35
+ - label : JRuby 9.3.4.0
36
+ ruby_version : " jruby-9.3.4.0"
37
+ gemfile : Gemfile-jruby
38
+ steps :
39
+ - name : Checkout Repository
40
+ uses : actions/checkout@v3
41
+ - name : " Set up ${{ matrix.label }}"
42
+ uses : ruby/setup-ruby@v1
43
+ with :
44
+ ruby-version : ${{ matrix.ruby_version }}
45
+ bundler-cache : true
46
+ - name : Run Minitest based tests
47
+ run : script/test
48
+ services :
49
+ redis :
50
+ image : redis
51
+ ports :
52
+ - 6379:6379
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
s . extra_rdoc_files = %w[ README.markdown LICENSE ]
29
29
30
30
s . add_runtime_dependency ( 'jruby-stemmer-other' , '~> 0.0.2' )
31
+ s . add_runtime_dependency ( 'matrix' , '~> 0.4' )
31
32
32
33
s . add_development_dependency ( 'minitest' )
33
34
s . add_development_dependency ( 'minitest-reporters' )
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Gem::Specification.new do |s|
27
27
s . extra_rdoc_files = %w[ README.markdown LICENSE ]
28
28
29
29
s . add_runtime_dependency ( 'fast-stemmer' , '~> 1.0' )
30
+ s . add_runtime_dependency ( 'matrix' , '~> 0.4' )
30
31
31
32
s . add_development_dependency ( 'minitest' )
32
33
s . add_development_dependency ( 'minitest-reporters' )
You can’t perform that action at this time.
0 commit comments