Skip to content

fix

fix #8

Workflow file for this run

name: test
on:
push:
branches:
- "*"
permissions:
contents: read
jobs:
sql:
name: sql
runs-on: ubuntu-latest
container: ubuntu:latest
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: hackme
POSTGRES_DB: test
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- name: run SQL tests
run: ./scripts/validate_sql_files.sh content ${PGDATABASE}
env:
PGHOST: postgres
PGUSER: postgres
PGPASSWORD: hackme
PGDATABASE: test