Skip to content

prescricaoagg idsegmento #266

prescricaoagg idsegmento

prescricaoagg idsegmento #266

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
jobs:
build:
name: Build PostgreSQL
runs-on: ubuntu-latest
services:
postgres:
image: postgres:11.6
env:
POSTGRES_USER: postgres
POSTGRES_DB: noharm
ports:
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Run PostgreSQL Create
run: |
sleep 10
psql -h localhost -U postgres -d noharm -a -f noharm-public.sql -v ON_ERROR_STOP=1
- name: Run PostgreSQL Demo Schema
run: psql -h localhost -U postgres -d noharm -a -f noharm-create.sql -v ON_ERROR_STOP=1
- name: Run PostgreSQL Triggers
run: psql -h localhost -U postgres -d noharm -a -f noharm-triggers.sql -v ON_ERROR_STOP=1
- name: Run PostgreSQL Insert
run: psql -h localhost -U postgres -d noharm -a -f noharm-insert.sql -v ON_ERROR_STOP=1
- name: Run PostgreSQL Create Test
run: pg_dump -h localhost -U postgres --schema='demo' noharm -s | sed 's/demo/demo_test/g' | psql -h localhost -U postgres -d noharm -v ON_ERROR_STOP=1
- name: Run PostgreSQL Copy Test
run: psql -h localhost -U postgres -d noharm -a -f noharm-test.sql -v ON_ERROR_STOP=1
- name: Run PostgreSQL Create Users
run: psql -h localhost -U postgres -d noharm -a -f noharm-newuser.sql -v ON_ERROR_STOP=1