Skip to content

Add Ruby 3.3 to CI

Add Ruby 3.3 to CI #50

Workflow file for this run

name: Tests
on:
push:
branches: ['master']
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
RAILS_ENV: test
strategy:
fail-fast: false
matrix:
include:
### TEST RUBY VERSIONS
- ruby: "2.5"
- ruby: "2.6"
- ruby: "2.7"
- ruby: "3.0"
- ruby: "3.1"
- ruby: "3.2"
- ruby: "3.3"
### TEST RAILS VERSIONS
- ruby: "2.6"
env:
RAILS_VERSION: "5.2"
- ruby: "2.6"
env:
RAILS_VERSION: "6.0"
- ruby: "2.6"
env:
RAILS_VERSION: "6.1"
- ruby: "3.3"
env:
RAILS_VERSION: "7.0"
- ruby: "3.3"
env:
RAILS_VERSION: "7.1"
steps:
- uses: actions/checkout@v3
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
bundler-cache: false ### not compatible with ENV-style Gemfile
- name: Run test
run: |
bundle install
bundle exec rake test