From f6a4401335dd44c5b51af87f123bc1553977c3d8 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Fri, 13 Oct 2023 00:52:22 +0100 Subject: [PATCH] ci: pytest workflow expose central-proxy & loopback --- .github/workflows/r-pytest.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/r-pytest.yml b/.github/workflows/r-pytest.yml index 4403dd1cb4..8253090da4 100644 --- a/.github/workflows/r-pytest.yml +++ b/.github/workflows/r-pytest.yml @@ -34,6 +34,7 @@ jobs: OSM_CLIENT_SECRET: ${{ env.OSM_CLIENT_SECRET }} OSM_SECRET_KEY: ${{ env.OSM_SECRET_KEY }} FRONTEND_MAIN_URL: ${{ vars.FRONTEND_MAIN_URL }} + options: --add-host central-proxy:127.0.0.1 services: # Start backend database @@ -73,6 +74,8 @@ jobs: # Start proxy to access ODK Central central-proxy: image: "ghcr.io/hotosm/fmtm/odkcentral-proxy:latest" + ports: + - 80:80 steps: - uses: actions/checkout@v4