Skip to content

Commit b580d14

Browse files
modify the test matrix
1 parent dedd446 commit b580d14

File tree

1 file changed

+17
-11
lines changed

1 file changed

+17
-11
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,23 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
gemfile:
17-
- { gemfile: Gemfile.rails-6.1-stable, ruby-version: '3.0' }
18-
- { gemfile: Gemfile.rails-6.1-stable, ruby-version: '3.1' }
19-
- { gemfile: Gemfile.rails-7.0-stable, ruby-version: '3.1' }
20-
- { gemfile: Gemfile.rails-7.0-stable, ruby-version: '3.2' }
21-
# Rails 7.2 with Ruby 3.1+
22-
- { gemfile: Gemfile.rails-7.2-stable, ruby-version: '3.1' }
23-
- { gemfile: Gemfile.rails-7.2-stable, ruby-version: '3.2' }
24-
- { gemfile: Gemfile.rails-7.2-stable, ruby-version: '3.3' }
25-
# Rails 8.0 with Ruby 3.2+
26-
- { gemfile: Gemfile.rails-8.0-stable, ruby-version: '3.2' }
27-
- { gemfile: Gemfile.rails-8.0-stable, ruby-version: '3.3' }
17+
- Gemfile.rails-6.1-stable
18+
- Gemfile.rails-7.0-stable
19+
- Gemfile.rails-7.2-stable
20+
- Gemfile.rails-8.0-stable
21+
ruby-version: ['3.0', '3.1', '3.2', '3.3']
22+
exclude:
23+
# Rails 7.0 doesn't work with Ruby 3.0
24+
- gemfile: Gemfile.rails-7.0-stable
25+
ruby-version: '3.0'
26+
# Rails 7.2 doesn't work with Ruby 3.0
27+
- gemfile: Gemfile.rails-7.2-stable
28+
ruby-version: '3.0'
29+
# Rails 8.0 doesn't work with Ruby 3.0 or 3.1
30+
- gemfile: Gemfile.rails-8.0-stable
31+
ruby-version: '3.0'
32+
- gemfile: Gemfile.rails-8.0-stable
33+
ruby-version: '3.1'
2834
env:
2935
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}
3036
steps:

0 commit comments

Comments
 (0)