Skip to content

chore: Force sqlite3 <2 for Rails #13

chore: Force sqlite3 <2 for Rails

chore: Force sqlite3 <2 for Rails #13

Workflow file for this run

name: test
on: [push]
jobs:
rspec:
name: Ruby ${{ matrix.ruby }} / ${{ matrix.gemfile }}
runs-on: ubuntu-22.04
strategy:
matrix:
ruby:
- "3.3"
- "3.2"
- "3.1"
- "3.0"
gemfile:
- rails_6_1.gemfile
- rails_7_0.gemfile
- rails_7_1.gemfile
fail-fast: False
env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}
BUNDLE_JOBS: 4
BUNDLE_RETRY: 10
BUNDLE_WITHOUT: development
steps:
- uses: actions/checkout@master
- name: Install dependencies
run: |
sudo apt-get install --quiet --yes libsqlite3-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: True
- name: Run rspec
run: bundle exec rspec --color
rubocop:
name: rubocop
runs-on: ubuntu-22.04
env:
BUNDLE_JOBS: 4
BUNDLE_RETRY: 10
BUNDLE_WITHOUT: development
steps:
- uses: actions/checkout@master
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.3"
bundler-cache: True
- run: bundle exec rubocop --parallel --color