diff --git a/.github/workflows/on-pr.yml b/.github/workflows/on-pr.yml index 961c6c40b..7f9ea6fae 100644 --- a/.github/workflows/on-pr.yml +++ b/.github/workflows/on-pr.yml @@ -63,4 +63,4 @@ jobs: - name: Run unit tests run: - PGPASSWORD=password make statedifftest \ No newline at end of file + make statedifftest \ No newline at end of file diff --git a/Makefile b/Makefile index 1bdd4ad22..b63415793 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,9 @@ PORT = 5432 USER = postgres PASSWORD = password +# Set env variable +export PGPASSWORD=$(PASSWORD) + #Test TEST_DB = vulcanize_testing TEST_CONNECT_STRING = postgresql://$(USER):$(PASSWORD)@$(HOST_NAME):$(PORT)/$(TEST_DB)?sslmode=disable