Skip to content

Merge pull request #4 from cph/split-support #24

Merge pull request #4 from cph/split-support

Merge pull request #4 from cph/split-support #24

Workflow file for this run

name: Tests
on: [push]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
strategy:
matrix:
ruby-version: ["3.0", "3.1", "3.2"]
services:
postgres:
image: postgres:11
ports: ["5432:5432"]
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: ${{ matrix.ruby-version }}
- name: Run the tests
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
run: bundle exec rake test