This commit is contained in:
parent
b7c134ab73
commit
cf631ea71b
|
@ -10,19 +10,19 @@ jobs:
|
||||||
japa-tests:
|
japa-tests:
|
||||||
# run build on latest ubuntu
|
# run build on latest ubuntu
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres
|
||||||
env:
|
env:
|
||||||
POSTGRES_USER: ProjectName
|
POSTGRES_USER: ProjectName
|
||||||
POSTGRES_PASSWORD: password
|
POSTGRES_PASSWORD: password
|
||||||
POSTGRES_DB: ProjectName-test
|
POSTGRES_DB: ProjectName-test
|
||||||
# Set health checks to wait until postgres has started
|
# Set health checks to wait until postgres has started
|
||||||
options: >-
|
options: >-
|
||||||
--health-cmd pg_isready
|
--health-cmd pg_isready
|
||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
steps:
|
steps:
|
||||||
# this will check out the current branch (https://github.com/actions/checkout#Push-a-commit-using-the-built-in-token)
|
# this will check out the current branch (https://github.com/actions/checkout#Push-a-commit-using-the-built-in-token)
|
||||||
- name: Check out repository code
|
- name: Check out repository code
|
||||||
|
@ -56,7 +56,7 @@ jobs:
|
||||||
PG_PASSWORD: password
|
PG_PASSWORD: password
|
||||||
PG_DB_NAME: ProjectName-test
|
PG_DB_NAME: ProjectName-test
|
||||||
PORT: 3333
|
PORT: 3333
|
||||||
HOST: 0.0.0.0
|
HOST: 0.0.0.0
|
||||||
APP_KEY: somefakekeythatis>16characters
|
APP_KEY: somefakekeythatis>16characters
|
||||||
NODE_ENV: test
|
NODE_ENV: test
|
||||||
ASSETS_DRIVER: fake
|
ASSETS_DRIVER: fake
|
||||||
|
|
Loading…
Reference in New Issue
Block a user