From a6c277c345191463ed1cf5dee62b4945cb0b28cd Mon Sep 17 00:00:00 2001 From: J-E Castagnede Date: Tue, 25 Jun 2024 16:06:15 +0200 Subject: [PATCH] fix tests --- .github/workflows/test.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2f1ae1f..8b1ccb4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,6 +17,18 @@ env: REGISTRY: ghcr.io IMAGE_NAME: ${{ github.repository }} CI: false + POSTGRES_DB: postgres + POSTGRES_PASSWORD: postgres + POSTGRES_USER: postgres + +services: + postgres: + image: postgis/postgis:16-3.4 + ports: + - 5432:5432 + # Set health checks to wait until postgres has started + options: >- + --health-cmd pg_isready jobs: python-unittests: @@ -54,6 +66,7 @@ jobs: with: files: ./backend/coverage.xml flags: python-unittests + token: ${{ secrets.CODECOV_TOKEN }} js-build: name: JS tests