Skip to content

Commit

Permalink
CI: Split Rails test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Dec 31, 2023
1 parent 5beab82 commit 63b0413
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
if: ${{ matrix.ruby != '2.5' }}
env:
SINATRA: main
rails:
rails-5:
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand All @@ -54,6 +54,16 @@ jobs:
name: "rake test:rails RAILS=5.2.8"
env:
RAILS: 5.2.8
rails-6:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
- run: bundle install && bundle exec rake test:rails
name: "rake test:rails RAILS=6.0.6"
env:
Expand All @@ -62,6 +72,16 @@ jobs:
name: "rake test:rails RAILS=6.1.7"
env:
RAILS: 6.1.7
rails-7:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0
- run: bundle install && bundle exec rake test:rails
name: "rake test:rails RAILS=7.0.7"
env:
Expand Down

0 comments on commit 63b0413

Please sign in to comment.