Skip to content

WIP: Add postgresql server to CI build #946

WIP: Add postgresql server to CI build

WIP: Add postgresql server to CI build #946

Workflow file for this run

name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
env:
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: password
services:
postgres:
image: postgres:17
env:
POSTGRES_PASSWORD: password
ports:
- 5432:5432
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Ruby & install bundled gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- name: Run tests
run: bundle exec rake