Add dump/restore tests

This commit is contained in:
Blottiere Paul 2022-02-28 17:34:10 +01:00
parent 4fc5df14be
commit 2286bf4574
2 changed files with 8 additions and 0 deletions

6
.github/scripts/test_dump_restore.sh vendored Executable file
View File

@ -0,0 +1,6 @@
#! /bin/bash
pg_dump contrib_regression -Fp > dump.sql
cat dump.sql
createdb test_restore
psql test_restore < dump.sql

View File

@ -23,3 +23,5 @@ jobs:
- name: Error
if: ${{ failure() }}
run: cat pgsql/regression.diffs
- name: Dump and restore tests
run: .github/scripts/test_dump_restore.sh