Skip to content

Commit 3de0600

Browse files
committed
don't need so many combos of ruby + rails
1 parent 127d8c9 commit 3de0600

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

.github/workflows/test.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,24 +101,25 @@ jobs:
101101
retention-days: 5
102102

103103
matrix:
104-
name: "Tests: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}"
104+
name: "Tests: ${{ matrix.name }}"
105105
needs: [lint, pilot]
106106
runs-on: ubuntu-22.04
107107
strategy:
108108
fail-fast: false
109109
matrix:
110-
ruby: ["2.7", "3.0", "3.2", "3.4"]
111-
rails: ["7.0", "7.1", "8.0"]
112-
exclude:
113-
# Rails 8.0 requires Ruby 3.1+
114-
- ruby: "2.7"
115-
rails: "8.0"
116-
- ruby: "3.0"
117-
rails: "8.0"
118-
# Exclude the pilot combination that we already ran
119-
- ruby: "3.0"
110+
include:
111+
- name: "Ruby 2.7 / Rails 7.0"
112+
ruby: "2.7"
120113
rails: "7.0"
121114

115+
- name: "Ruby 3.2 / Rails 7.1"
116+
ruby: "3.2"
117+
rails: "7.1"
118+
119+
- name: "Ruby 3.4 / Rails 8.0"
120+
ruby: "3.4"
121+
rails: "8.0"
122+
122123
env:
123124
RAILS_VERSION: ${{ matrix.rails }}
124125
RUBY_VERSION: ${{ matrix.ruby }}

0 commit comments

Comments
 (0)