From 855ef9bdc5d1440b28bb7335b7d7bced2bfab2c2 Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Sun, 7 Jul 2024 15:35:03 +0300 Subject: [PATCH] wef --- .github/workflows/tests.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b5f8c42..bb3b62c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,7 +9,23 @@ jobs: run_tests: runs-on: ubuntu-latest container: - image: qgis/qgis:3.34 + image: postgis/postgis:15-3.4 + services: + postgres: + image: postgres + env: + POSTGRES_DB: my_database + POSTGRES_PASSWORD: postgres + POSTGRES_USER: postgres + # Set health checks to wait until postgres has started + options: >- + --health-cmd pg_isready + --health-interval 10s + --health-timeout 5s + --health-retries 5 + ports: + - 5432:5432 + steps: - uses: actions/checkout@v4 - name: install system dependencies