Skip to content

Merge pull request #160 from Shopify/rails-ruby-ci-versions #121

Merge pull request #160 from Shopify/rails-ruby-ci-versions

Merge pull request #160 from Shopify/rails-ruby-ci-versions #121

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
env:
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
strategy:
matrix:
ruby:
- '3.1'
- '3.2'
- '3.3'
gemfile:
- Gemfile
- gemfiles/rails-7.0.gemfile
- gemfiles/rails-7.1.gemfile
- gemfiles/rails-edge.gemfile
exclude:
- ruby: '3.1'
gemfile: gemfiles/rails-edge.gemfile
- ruby: '3.2'
gemfile: gemfiles/rails-edge.gemfile
name: Ruby ${{ matrix.ruby }} ${{ matrix.gemfile }}
steps:
- uses: actions/checkout@v1
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: |
bundle exec rake