Skip to content

Commit f835546

Browse files
authored
Update workflows (#549)
Use better lexicon, now we have fixed some issues we can now test a few more areas
1 parent b3d0ba2 commit f835546

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,17 @@ jobs:
77
strategy:
88
fail-fast: false
99
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']
1212
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
1616
# 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
1918
# Unsupported rubies will test
2019
# - all permissible rails versions released within 6 months of EOL
21-
# - not the latest rails version
20+
# - nothing in the current rails major
2221

2322
# 2.5 -> Unsupported from March '21 -> Only test up to Sep '21
2423
# 2.6 -> Unsupported from March '22 -> Only test up to Sep '22
@@ -34,7 +33,6 @@ jobs:
3433
- { ruby: '3.0', gemfile: 'rails_5_0' }
3534
- { ruby: '3.0', gemfile: 'rails_5_1' }
3635
- { 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' }
3836
- { ruby: '3.1', gemfile: 'rails_5_0' }
3937
- { ruby: '3.1', gemfile: 'rails_5_1' }
4038
- { ruby: '3.1', gemfile: 'rails_5_2' }
@@ -52,7 +50,6 @@ jobs:
5250
- run: bundle exec rubocop
5351
# ruby-2.5.8 and 2.5.9 has issues running bundle install during specs.
5452
# see errors here https://github.com/mgrunberg/cucumber-rails/runs/4824503004?check_suite_focus=true
55-
# seems incompatibility with psych gem and rubygems version.
5653
- run: gem update --system
5754
if: matrix.ruby == '2.5.8'
5855
- run: bundle exec rake cucumber

0 commit comments

Comments
 (0)