Skip to content

Rescope to remove where, order, and limit to fix in_batches queries #13

Rescope to remove where, order, and limit to fix in_batches queries

Rescope to remove where, order, and limit to fix in_batches queries #13

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 10
env:
PGHOST: localhost
PGUSER: has_some_of_many
services:
postgres:
image: postgres:16
env:
POSTGRES_USER: has_some_of_many
POSTGRES_DB: has_some_of_many_test
POSTGRES_PASSWORD: ""
POSTGRES_HOST_AUTH_METHOD: trust
ports: [ "5432:5432" ]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
rubygems: latest
- name: Run tests
run: bundle exec rake test