Skip to content

Commit

Permalink
[CI] Simplify the experimental matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Jan 3, 2024
1 parent c4f164b commit 5f0ec02
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
name: Ruby ${{ matrix.ruby }} (${{ matrix.gemfile }})
runs-on: ubuntu-20.04
continue-on-error: ${{ matrix.experimental }}
continue-on-error: ${{ matrix.gemfile == 'rails_head' }}
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
BUNDLE_JOBS: 4
Expand Down Expand Up @@ -35,7 +35,6 @@ jobs:
- "rails_7_1"
- "rails_head"

experimental: [false]
exclude:
- ruby: 2.7
gemfile: rails_5_0
Expand Down Expand Up @@ -121,27 +120,20 @@ jobs:
gemfile: rails_head
- ruby: 2.7
gemfile: rails_head
experimental: false
- ruby: '3.0'
gemfile: rails_head
experimental: false
- ruby: '3.1'
gemfile: rails_head
experimental: false
- ruby: '3.2'
gemfile: rails_head
experimental: false

include:
- ruby: '3.1'
gemfile: rails_head
experimental: true
- ruby: '3.2'
gemfile: rails_head
experimental: true
- ruby: head
gemfile: rails_head
experimental: true

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 5f0ec02

Please sign in to comment.