Set pgpassword in env.
This commit is contained in:
parent
f0b57de7d7
commit
87096e1d35
2
.github/workflows/on-pr.yml
vendored
2
.github/workflows/on-pr.yml
vendored
@ -63,4 +63,4 @@ jobs:
|
|||||||
|
|
||||||
- name: Run unit tests
|
- name: Run unit tests
|
||||||
run:
|
run:
|
||||||
PGPASSWORD=password make statedifftest
|
make statedifftest
|
3
Makefile
3
Makefile
@ -25,6 +25,9 @@ PORT = 5432
|
|||||||
USER = postgres
|
USER = postgres
|
||||||
PASSWORD = password
|
PASSWORD = password
|
||||||
|
|
||||||
|
# Set env variable
|
||||||
|
export PGPASSWORD=$(PASSWORD)
|
||||||
|
|
||||||
#Test
|
#Test
|
||||||
TEST_DB = vulcanize_testing
|
TEST_DB = vulcanize_testing
|
||||||
TEST_CONNECT_STRING = postgresql://$(USER):$(PASSWORD)@$(HOST_NAME):$(PORT)/$(TEST_DB)?sslmode=disable
|
TEST_CONNECT_STRING = postgresql://$(USER):$(PASSWORD)@$(HOST_NAME):$(PORT)/$(TEST_DB)?sslmode=disable
|
||||||
|
Loading…
Reference in New Issue
Block a user