Skip to content

Update activerecord requirement from >= 5.2, < 8 to >= 5.2, < 9 #56

Update activerecord requirement from >= 5.2, < 8 to >= 5.2, < 9

Update activerecord requirement from >= 5.2, < 8 to >= 5.2, < 9 #56

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
ruby:
- '3.1'
- '3.0'
- '2.7'
activerecord:
- '7.0'
- '6.1'
- '6.0'
- '5.2'
exclude:
- activerecord: '5.2'
ruby: '3.0'
- activerecord: '5.2'
ruby: '3.1'
services:
postgres:
image: postgres:12
ports:
- 5432:5432
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: amountable_test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
name: Ruby ${{ matrix.ruby }} / ActiveRecord ${{ matrix.activerecord }}
env:
BUNDLE_GEMFILE: gemfiles/activerecord_${{ matrix.activerecord }}.gemfile
steps:
- uses: actions/checkout@v2
- run: |
sudo apt-get -yqq install libpq-dev
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- run: |
bundle exec rake
env:
PGHOST: 127.0.0.1
PGUSER: postgres
RAILS_ENV: test