|
7 | 7 | strategy:
|
8 | 8 | fail-fast: false
|
9 | 9 | matrix:
|
10 |
| - ruby: [ '2.4', '2.5', '2.6', '2.7', '3.0' ] |
| 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 | 13 | # Only test latest Rails (Of each major), on actively supported Ruby Versions
|
14 | 14 | # Only test latest Ruby with latest Rails versions (Of each major)
|
15 |
| - # 2.4 -> Only use legacy rails versions (5.0/5.1) |
16 | 15 | # 2.5 -> Not 5.2/6.1
|
17 | 16 | # 2.6 -> Users of this should be using Rails 5.2+
|
18 | 17 | # 2.7 -> Users of this should be using Rails 5.2+
|
19 |
| - # 3.0 -> Only Rails 6.1 |
20 |
| - - { ruby: '2.4', gemfile: 'rails_5_2' } |
21 |
| - - { ruby: '2.4', gemfile: 'rails_6_0' } |
22 |
| - - { ruby: '2.4', gemfile: 'rails_6_1' } |
23 |
| - - { ruby: '2.4', gemfile: 'rails_7_0' } |
24 |
| - - { ruby: '2.5', gemfile: 'rails_5_2' } |
25 |
| - - { ruby: '2.5', gemfile: 'rails_6_1' } |
26 |
| - - { ruby: '2.5', gemfile: 'rails_7_0' } |
| 18 | + # 3.0 -> Rails 6.1 and 7.0 |
| 19 | + # 3.1 -> Only 7.0 |
| 20 | + - { ruby: '2.5.8', gemfile: 'rails_5_2' } |
| 21 | + - { ruby: '2.5.8', gemfile: 'rails_6_1' } |
| 22 | + - { ruby: '2.5.8', gemfile: 'rails_7_0' } |
27 | 23 | - { ruby: '2.6', gemfile: 'rails_5_0' }
|
28 | 24 | - { ruby: '2.6', gemfile: 'rails_5_1' }
|
29 | 25 | - { ruby: '2.6', gemfile: 'rails_7_0' }
|
|
33 | 29 | - { ruby: '3.0', gemfile: 'rails_5_1' }
|
34 | 30 | - { ruby: '3.0', gemfile: 'rails_5_2' }
|
35 | 31 | - { ruby: '3.0', gemfile: 'rails_6_0' }
|
| 32 | + - { ruby: '3.1', gemfile: 'rails_5_0' } |
| 33 | + - { ruby: '3.1', gemfile: 'rails_5_1' } |
| 34 | + - { ruby: '3.1', gemfile: 'rails_5_2' } |
| 35 | + - { ruby: '3.1', gemfile: 'rails_6_0' } |
| 36 | + - { ruby: '3.1', gemfile: 'rails_6_1' } |
36 | 37 | env:
|
37 | 38 | BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
|
38 | 39 | steps:
|
|
44 | 45 | bundler-cache: true
|
45 | 46 | - run: bundle exec rake spec
|
46 | 47 | - run: bundle exec rubocop
|
47 |
| - # ruby-2.5.9 has issues running bundle install during specs. |
| 48 | + # ruby-2.5.8 and 2.5.9 has issues running bundle install during specs. |
48 | 49 | # see errors here https://github.com/mgrunberg/cucumber-rails/runs/4824503004?check_suite_focus=true
|
49 | 50 | # seems incompatibility with psych gem and rubygems version.
|
50 | 51 | - run: gem update --system
|
51 |
| - if: matrix.ruby == '2.5' |
| 52 | + if: matrix.ruby == '2.5.8' |
52 | 53 | - run: bundle exec rake cucumber
|
0 commit comments