|
7 | 7 | strategy: |
8 | 8 | fail-fast: false |
9 | 9 | matrix: |
10 | | - ruby: [ '2.5.8', '2.6', '2.7', '3.0', '3.1' ] |
11 | | - gemfile: [ 'rails_5_0', 'rails_5_1', 'rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0' ] |
| 10 | + ruby: ['2.5.8', '2.6', '2.7', '3.0', '3.1'] |
| 11 | + gemfile: ['rails_5_0', 'rails_5_1', 'rails_5_2', 'rails_6_0', 'rails_6_1', 'rails_7_0'] |
12 | 12 | exclude: |
13 | | - # Newest ruby will test |
14 | | - # - all permissible rails versions in current major |
15 | | - # - latest rails version in the last major |
| 13 | + # Latest ruby will test |
| 14 | + # - all rails versions in current major |
| 15 | + # - latest rails version in the previous major |
16 | 16 | # Supported rubies will test |
17 | | - # - all permissible rails versions in current major |
18 | | - # - all permissible supported rails versions beneath latest major |
| 17 | + # - all permissible supported rails versions |
19 | 18 | # Unsupported rubies will test |
20 | 19 | # - all permissible rails versions released within 6 months of EOL |
21 | | - # - not the latest rails version |
| 20 | + # - nothing in the current rails major |
22 | 21 |
|
23 | 22 | # 2.5 -> Unsupported from March '21 -> Only test up to Sep '21 |
24 | 23 | # 2.6 -> Unsupported from March '22 -> Only test up to Sep '22 |
|
34 | 33 | - { ruby: '3.0', gemfile: 'rails_5_0' } |
35 | 34 | - { ruby: '3.0', gemfile: 'rails_5_1' } |
36 | 35 | - { ruby: '3.0', gemfile: 'rails_5_2' } # Rails 5.2 won't work with Ruby 3+: https://github.com/rails/rails/issues/40938 |
37 | | - - { ruby: '3.0', gemfile: 'rails_6_0' } |
38 | 36 | - { ruby: '3.1', gemfile: 'rails_5_0' } |
39 | 37 | - { ruby: '3.1', gemfile: 'rails_5_1' } |
40 | 38 | - { ruby: '3.1', gemfile: 'rails_5_2' } |
|
52 | 50 | - run: bundle exec rubocop |
53 | 51 | # ruby-2.5.8 and 2.5.9 has issues running bundle install during specs. |
54 | 52 | # see errors here https://github.com/mgrunberg/cucumber-rails/runs/4824503004?check_suite_focus=true |
55 | | - # seems incompatibility with psych gem and rubygems version. |
56 | 53 | - run: gem update --system |
57 | 54 | if: matrix.ruby == '2.5.8' |
58 | 55 | - run: bundle exec rake cucumber |
0 commit comments