Skip to content

Commit

Permalink
Update tested versions of ruby/rails
Browse files Browse the repository at this point in the history
We're preventing ruby 7.1 from being tested as Blacklight 7 does not yet work on Rails 7.1
  • Loading branch information
jcoyne committed Jan 18, 2024
1 parent fddcb6b commit 21cc665
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.7
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
- name: Run linter
Expand All @@ -32,14 +32,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, '3.0', 3.1, 3.2]
ruby: [3.1, 3.2]
env:
RAILS_VERSION: 7.0.8
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
- name: Run tests
Expand All @@ -51,13 +53,15 @@ jobs:
strategy:
matrix:
ruby: ['3.0']
env:
RAILS_VERSION: 7.0.8
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
- name: Run tests
Expand All @@ -76,7 +80,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
env:
Expand All @@ -97,7 +101,7 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
env:
Expand All @@ -107,42 +111,41 @@ jobs:
env:
RAILS_VERSION: 5.2.8.1
ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-listen --skip-spring --skip-keeps --skip-action-cable --skip-coffee --skip-test'

test_rails6_1:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.0']
env:
RAILS_VERSION: 6.1.6.1
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
env:
RAILS_VERSION: 6.1.6.1
- name: Run tests
run: bundle exec rake ci
env:
RAILS_VERSION: 6.1.6.1
ENGINE_CART_RAILS_OPTIONS: '--skip-git --skip-keeps --skip-action-cable --skip-test'
test_vc3:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['3.2']
env:
RAILS_VERSION: 7.0.8
VIEW_COMPONENT_VERSION: ${{ matrix.view_component_version }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler: 'latest'
bundler: 'default'
- name: Install dependencies
run: bundle install
- name: Run tests
Expand All @@ -154,12 +157,14 @@ jobs:
strategy:
matrix:
ruby: [2.7, '3.0']
env:
RAILS_VERSION: 7.0.8
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler: 'latest'
bundler: 'default'
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies
run: bundle install
Expand Down

0 comments on commit 21cc665

Please sign in to comment.