I think I got it now

This commit is contained in:
c0de 2018-03-08 21:19:15 -06:00
parent 1ccc3724c2
commit c5b7fd125d
2 changed files with 3 additions and 2 deletions

View File

@ -28,8 +28,7 @@ jobs:
# Set up Test DB
- run: sudo apt install postgresql-client-9.4 postgresql-9.4
- run: sudo /etc/init.d/postgresql start
- run: |
psql -U postgres < newdb.sql
- run: sudo ./newdb.sh
# Download and cache dependencies
- restore_cache:

2
newdb.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
su postgres -c "psql < newdb.sql"