Skip to content

Fix example code on filtering and sorting section #168

Fix example code on filtering and sorting section

Fix example code on filtering and sorting section #168

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
ruby_rails_test_matrix:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [2.7, '3.0', '3.1', 3.2]
rails: [6, '7.0', '7.1']
exclude:
- ruby: 3.2
rails: 6
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Runs code QA and tests
env:
RAILS_VERSION: ~> ${{ matrix.rails }}
run: |
rm -rf Gemfile.lock
sudo apt-get update
sudo apt-get install libsqlite3-dev
echo $RAILS_VERSION | grep -q '5' && export SQLITE3_VERSION='~> 1.3.6'
bundle
bundle exec rake