1313 name : Ruby ${{ matrix.ruby }}
1414 strategy :
1515 matrix :
16- ruby : [2.7, 3.0, 3.1, 3.2, 3.3, head]
16+ ruby : [2.7, 3.0, 3.1, 3.2, 3.3, 3.4, 4.0, head]
1717 env :
1818 CC_TEST_REPORTER_ID : ${{ secrets.CC_TEST_REPORTER_ID }}
1919 steps :
@@ -27,19 +27,29 @@ jobs:
2727 - name : Setup project
2828 run : bundle exec rake appraisal:install
2929 - name : Run tests for Rails 6.0
30- if : ${{ matrix.ruby <= 3.3 }}
3130 run : bundle exec appraisal rails-6-0 rake test
32- - name : Run tests for Rails 6.1
3331 if : ${{ matrix.ruby <= 3.3 }}
32+ - name : Run tests for Rails 6.1
3433 run : bundle exec appraisal rails-6-1 rake test
35- - name : Run tests for Rails 7.0
3634 if : ${{ matrix.ruby <= 3.3 }}
35+ - name : Run tests for Rails 7.0
3736 run : bundle exec appraisal rails-7-0 rake test
37+ if : ${{ matrix.ruby <= 3.3 }}
3838 - name : Run tests for Rails 7.1
3939 run : bundle exec appraisal rails-7-1 rake test
40+ if : ${{ matrix.ruby <= 3.3 }}
41+ - name : Run tests for Rails 7.2
42+ run : bundle exec appraisal rails-7-2 rake test
43+ if : ${{ matrix.ruby >= 3.1 && matrix.ruby <= 4.0 }}
44+ - name : Run tests for Rails 8.0
45+ if : ${{ matrix.ruby >= 3.2 }}
46+ run : bundle exec appraisal rails-8-0 rake test
47+ - name : Run tests for Rails 8.1
48+ if : ${{ matrix.ruby >= 3.3 }}
49+ run : bundle exec appraisal rails-8-1 rake test
4050 - name : Run tests for Rails edge
51+ if : ${{ matrix.ruby >= 3.3 || matrix.ruby == 'head' }}
4152 run : bundle exec appraisal rails-edge rake test
42- if : ${{ matrix.ruby >= 3.1 || matrix.ruby == 'head' }}
4353 - uses : paambaati/codeclimate-action@v5
4454 if : ${{ matrix.ruby == 3.2 && !github.base_ref }}
4555
0 commit comments