config psql in circleci config
This commit is contained in:
parent
a9dbf359fc
commit
3c34b6846a
1 changed files with 12 additions and 0 deletions
|
@ -42,6 +42,18 @@ jobs:
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run bootstrap
|
- 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:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue