Skip to content

Commit

Permalink
Merge pull request #3123 from projectblacklight/update-test-7x
Browse files Browse the repository at this point in the history
[7.x] Update tested versions of ruby/rails
  • Loading branch information
jcoyne authored Jan 18, 2024
2 parents fddcb6b + d3383ee commit 61faa6c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ALPINE_RUBY_VERSION=2.7.5
RAILS_VERSION=5.2.6
ALPINE_RUBY_VERSION=3.2.2
RAILS_VERSION=7.0.8
VIEW_COMPONENT_VERSION=2.6.6
SOLR_PORT=8983
SOLR_URL=http://solr:8983/solr/blacklight-core
Expand Down
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 61faa6c

Please sign in to comment.