Skip to content

feat: key_to_match default to primary_key (#2) #15

feat: key_to_match default to primary_key (#2)

feat: key_to_match default to primary_key (#2) #15

Workflow file for this run

name: Ruby
on:
push:
branches:
- main
pull_request:
jobs:
rspec:
runs-on: ubuntu-latest
env:
POSTGRES_DB: test_db
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
services:
postgres:
env:
POSTGRES_DB: test_db
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
image: postgres:14
ports:
- 5432:5432
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
ruby:
- 3.0
- 3.1
- 3.2
- 3.3
steps:
- uses: actions/checkout@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Run tests
run: bundle exec rspec