From a263f12a76c9a13b7f37fe786c990d8c186f6e6e Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Mon, 4 Dec 2023 13:22:20 +0000 Subject: [PATCH] ci: update ci to use test_compose with db service --- .github/workflows/pytest.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index e459657..07759d1 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -11,7 +11,11 @@ on: jobs: pytest: - uses: hotosm/gh-workflows/.github/workflows/test_pytest.yml@1.2.4 + uses: hotosm/gh-workflows/.github/workflows/test_compose.yml@1.2.1 with: - image_name: ghcr.io/${{ github.repository }} + image_name: ghcr.io/${{ github.repository }}/backend tag_override: ${{ github.event_name == 'push' && 'ci' || '' }} + compose_service: splitter + compose_command: pytest + cache_extra_imgs: | + "docker.io/postgis/postgis:${{ vars.POSTGIS_TAG || 14-3.4-alpine }}"