diff --git a/.gitea/workflows/qs.yml b/.gitea/workflows/qs.yml index 43fcf81..d796d4c 100644 --- a/.gitea/workflows/qs.yml +++ b/.gitea/workflows/qs.yml @@ -9,6 +9,20 @@ jobs: runs-on: "ubuntu-latest" container: image: "cimg/openjdk:21.0-node" + services: + postgres: + image: postgres:15 + env: + POSTGRES_DB: lf8_starter_db + POSTGRES_USER: lf8_starter + POSTGRES_PASSWORD: secret + ports: + - 5432:5432 + options: >- + --health-cmd="pg_isready -U lf8_starter" + --health-interval=10s + --health-timeout=5s + --health-retries=3 steps: - name: "Checkout" uses: actions/checkout@v3