Skip to content

Commit a74b6a0

Browse files
committed
ci: add Ruby 3.2 coverage
Also: - matrix uses explicit includes instead of excludes - sort order of tests is AS first, Ruby second - give tests a more descriptive name
1 parent d59d088 commit a74b6a0

File tree

1 file changed

+25
-36
lines changed

1 file changed

+25
-36
lines changed

.github/workflows/ci.yml

Lines changed: 25 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -20,46 +20,35 @@ on:
2020

2121
jobs:
2222
test:
23+
name: "activesupport ${{ matrix.activesupport }} / ruby ${{ matrix.ruby }}"
2324
runs-on: ubuntu-20.04
2425
strategy:
2526
fail-fast: false
2627
matrix:
27-
ruby:
28-
- '3.1'
29-
- '3.0'
30-
- '2.7'
31-
- '2.6'
32-
- '2.5'
33-
- ruby-head
34-
- jruby
35-
activesupport:
36-
- '7.0'
37-
- '6.1'
38-
- '6.0'
39-
- '5.2'
40-
exclude:
41-
- ruby: '2.5'
42-
activesupport: '7.0'
43-
- ruby: '2.6'
44-
activesupport: '7.0'
45-
- ruby: '2.7'
46-
activesupport: '5.2'
47-
- ruby: '3.0'
48-
activesupport: '5.2'
49-
- ruby: '3.0'
50-
activesupport: '6.0'
51-
- ruby: '3.1'
52-
activesupport: '5.2'
53-
- ruby: '3.1'
54-
activesupport: '6.0'
55-
- ruby: ruby-head
56-
activesupport: '5.2'
57-
- ruby: ruby-head
58-
activesupport: '6.0'
59-
- ruby: ruby-head
60-
activesupport: '6.1'
61-
- ruby: jruby
62-
activesupport: '7.0'
28+
include:
29+
# rails 5.2
30+
- { activesupport: "5.2", ruby: "2.5" }
31+
- { activesupport: "5.2", ruby: "2.6" }
32+
# rails 6.0
33+
- { activesupport: "6.0", ruby: "2.5" }
34+
- { activesupport: "6.0", ruby: "2.6" }
35+
- { activesupport: "6.0", ruby: "2.7" }
36+
# rails 6.1
37+
- { activesupport: "6.1", ruby: "2.5" }
38+
- { activesupport: "6.1", ruby: "2.6" }
39+
- { activesupport: "6.1", ruby: "2.7" }
40+
- { activesupport: "6.1", ruby: "3.0" }
41+
- { activesupport: "6.1", ruby: "3.1" }
42+
- { activesupport: "6.1", ruby: "3.2" }
43+
- { activesupport: "6.1", ruby: "ruby-head" }
44+
- { activesupport: "6.1", ruby: "jruby" }
45+
# rails 7.0
46+
- { activesupport: "7.0", ruby: "2.7" }
47+
- { activesupport: "7.0", ruby: "3.0" }
48+
- { activesupport: "7.0", ruby: "3.1" }
49+
- { activesupport: "7.0", ruby: "3.2" }
50+
- { activesupport: "7.0", ruby: "ruby-head" }
51+
- { activesupport: "7.0", ruby: "jruby" }
6352
env:
6453
BUNDLE_GEMFILE: gemfiles/active_support_${{ matrix.activesupport }}.gemfile
6554
steps:

0 commit comments

Comments
 (0)