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