Skip to content

Commit

Permalink
Updated github build workflow for postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
rhertogh committed Sep 8, 2022
1 parent 91a6e42 commit d33e10b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
POSTGRES_USER: Yii2Oauth2ServerTest
POSTGRES_PASSWORD: password
POSTGRES_DB: Yii2Oauth2ServerTest
ports:
- 5432/tcp
# Set health checks to wait until postgres has started
options: >-
--name=postgres
Expand Down Expand Up @@ -89,7 +91,7 @@ jobs:
MYSQL_USER_PASSWORD: password

POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
POSTGRES_USER: Yii2Oauth2ServerTest
POSTGRES_PASSWORD: password
POSTGRES_DB: Yii2Oauth2ServerTest
Expand Down

0 comments on commit d33e10b

Please sign in to comment.