Skip to content

Commit

Permalink
Merge pull request #125 from projectblacklight/supported-versions
Browse files Browse the repository at this point in the history
Update test matrix to supported versions
  • Loading branch information
cbeer authored Oct 22, 2024
2 parents a9fe128 + 9a39bc0 commit a761ee5
Showing 1 changed file with 22 additions and 26 deletions.
48 changes: 22 additions & 26 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,39 @@ name: CI

on:
push:
branches: [ main ]
branches: [main]
pull_request:
branches: [ main ]
branches: [main]

jobs:
test:
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
ruby: ['3.2']
rails_version: ['7.1.3', '7.2.0']
blacklight_version: ['~> 8.1']
ruby: ["3.3"]
rails_version: ["7.1.4", "7.2.1"]
blacklight_version: ["~> 8.1"]
experimental: [false]
include:
- ruby: '2.7'
rails_version: '6.1.7.6'
blacklight_version: '~> 7.0'
experimental: false
- ruby: '3.1'
rails_version: '7.0.8'
blacklight_version: '~> 8.1'
experimental: false
- ruby: '3.2'
rails_version: '7.1.3'
blacklight_version: 'github'
experimental: true
- ruby: "3.1"
rails_version: "7.0.8"
blacklight_version: "~> 8.1"
experimental: false
- ruby: "3.2"
rails_version: "7.1.4"
blacklight_version: "github"
experimental: true
env:
RAILS_VERSION: ${{ matrix.rails_version }}
BLACKLIGHT_VERSION: ${{ matrix.blacklight_version }}
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies with Rails ${{ matrix.rails_version }}
run: bundle install
- name: Run tests
run: bundle exec rake
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
- name: Install dependencies with Rails ${{ matrix.rails_version }}
run: bundle install
- name: Run tests
run: bundle exec rake

0 comments on commit a761ee5

Please sign in to comment.