mirror of
https://github.com/pgpointcloud/pointcloud.git
synced 2025-12-08 20:36:04 +00:00
Add dump/restore tests
This commit is contained in:
parent
4fc5df14be
commit
2286bf4574
6
.github/scripts/test_dump_restore.sh
vendored
Executable file
6
.github/scripts/test_dump_restore.sh
vendored
Executable 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
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user