- test ci.yml
All checks were successful
CI Pipeline / japa-tests (push) Successful in 49s

This commit is contained in:
Kaimbacher 2023-05-09 15:08:40 +02:00
parent b7c134ab73
commit cf631ea71b

View File

@ -14,15 +14,15 @@ jobs:
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