Skip to content

Merge pull request #600 from cesariouy/patch-1 #990

Merge pull request #600 from cesariouy/patch-1

Merge pull request #600 from cesariouy/patch-1 #990

Workflow file for this run

name: CI
on:
push:
branches: [main, v2]
pull_request:
branches: ["**"]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: [3.0, 3.1, 3.2]
appraisal: ["rails-6.0", "rails-6.1", "rails-7.0", "rails-head"]
steps:
- uses: actions/checkout@v3
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: false
- name: Set system gem command
run: gem update --system
- name: Install bundler
run: gem install bundler
- name: Bundle for Appraisal
run: bundle
- name: Install Appraisal dependencies
run: bundle exec appraisal ${{ matrix.appraisal }} bundle
- name: Run tests
run: bundle exec appraisal ${{ matrix.appraisal }} rspec