config psql in circleci config

This commit is contained in:
sorrelbri 2020-02-08 17:21:13 -08:00
parent a9dbf359fc
commit 3c34b6846a

View file

@ -42,6 +42,18 @@ jobs:
- run: npm install
- run: npm run bootstrap
- run: |
psql \
-d $TEST_DATABASE_URL \
-c "CREATE TABLE test (name char(25));"
- run: |
psql \
-d $TEST_DATABASE_URL \
-c "INSERT INTO test VALUES ('John'), ('Joanna'), ('Jennifer');"
- run: |
psql \
-d $TEST_DATABASE_URL \
-c "SELECT * from test"
- save_cache:
paths: