From cf631ea71b821c32353f998d457596bec0e407c4 Mon Sep 17 00:00:00 2001 From: Arno Kaimbacher Date: Tue, 9 May 2023 15:08:40 +0200 Subject: [PATCH] - test ci.yml --- .gitea/workflows/ci.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 5ae08e7..9cb7dbe 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -10,19 +10,19 @@ jobs: japa-tests: # run build on latest ubuntu runs-on: ubuntu-latest - services: + services: postgres: image: postgres env: - POSTGRES_USER: ProjectName - POSTGRES_PASSWORD: password - POSTGRES_DB: ProjectName-test + POSTGRES_USER: ProjectName + POSTGRES_PASSWORD: password + POSTGRES_DB: ProjectName-test # Set health checks to wait until postgres has started options: >- - --health-cmd pg_isready - --health-interval 10s - --health-timeout 5s - --health-retries 5 + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 steps: # 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 @@ -56,7 +56,7 @@ jobs: PG_PASSWORD: password PG_DB_NAME: ProjectName-test PORT: 3333 - HOST: 0.0.0.0 + HOST: 0.0.0.0 APP_KEY: somefakekeythatis>16characters NODE_ENV: test ASSETS_DRIVER: fake