@@ -10,30 +10,35 @@ jobs:
10
10
ruby : [ '2.5.8', '2.6', '2.7', '3.0', '3.1' ]
11
11
gemfile : [ 'rails_5_0', 'rails_5_1', 'rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0' ]
12
12
exclude :
13
- # Only test latest Rails (Of each major), on actively supported Ruby Versions
14
- # Only test latest Ruby with latest Rails versions (Of each major)
15
- # 2.5 -> Not 5.2/6.1
16
- # 2.6 -> Users of this should be using Rails 5.2+
17
- # 2.7 -> Users of this should be using Rails 5.2+
18
- # 3.0 -> Rails 6.1 and 7.0
19
- # 3.1 -> Only 7.0
13
+ # Newest ruby will test
14
+ # - all permissible rails versions in current major
15
+ # - latest rails version in the last major
16
+ # Supported rubies will test
17
+ # - all permissible rails versions in current major
18
+ # - all permissible supported rails versions beneath latest major
19
+ # Unsupported rubies will test
20
+ # - all permissible rails versions released within 6 months of EOL
21
+ # - not the latest rails version
22
+
23
+ # 2.5 -> Unsupported from March '21 -> Only test up to Sep '21
24
+ # 2.6 -> Unsupported from March '22 -> Only test up to Sep '22
25
+ # 2.7 -> Supported until March '23 (At least)
26
+ # 3.0 -> Supported for a while...
20
27
- { ruby: '2.5.8', gemfile: 'rails_5_2' }
28
+ - { ruby: '2.5.8', gemfile: 'rails_6_0' }
21
29
- { ruby: '2.5.8', gemfile: 'rails_6_1' }
22
30
- { ruby: '2.5.8', gemfile: 'rails_7_0' }
23
- - { ruby: '2.6', gemfile: 'rails_5_0' }
24
- - { ruby: '2.6', gemfile: 'rails_5_1' }
25
31
- { ruby: '2.6', gemfile: 'rails_7_0' }
26
32
- { ruby: '2.7', gemfile: 'rails_5_0' }
27
33
- { ruby: '2.7', gemfile: 'rails_5_1' }
28
34
- { ruby: '3.0', gemfile: 'rails_5_0' }
29
35
- { ruby: '3.0', gemfile: 'rails_5_1' }
30
- - { ruby: '3.0', gemfile: 'rails_5_2' }
36
+ - { ruby: '3.0', gemfile: 'rails_5_2' } # Rails 5.2 won't work with Ruby 3+: https://github.com/rails/rails/issues/40938
31
37
- { ruby: '3.0', gemfile: 'rails_6_0' }
32
38
- { ruby: '3.1', gemfile: 'rails_5_0' }
33
39
- { ruby: '3.1', gemfile: 'rails_5_1' }
34
40
- { ruby: '3.1', gemfile: 'rails_5_2' }
35
41
- { ruby: '3.1', gemfile: 'rails_6_0' }
36
- - { ruby: '3.1', gemfile: 'rails_6_1' }
37
42
env :
38
43
BUNDLE_GEMFILE : gemfiles/${{ matrix.gemfile }}.gemfile
39
44
steps :
0 commit comments