Skip to content

Commit

Permalink
ci: fix pytest workflow, use env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Sep 4, 2023
1 parent 14cf41f commit 4d705de
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,12 @@ jobs:
container:
image: ghcr.io/hotosm/fmtm/backend:ci-${{ github.base_ref || github.ref_name }}
env:
ODK_CENTRAL_URL: https://central-proxy
ODK_CENTRAL_USER: [email protected]
ODK_CENTRAL_PASSWD: odk
OSM_CLIENT_ID: test
OSM_CLIENT_SECRET: test
OSM_SECRET_KEY: test
# Fix why env. vars not working below
# OSM_CLIENT_ID: ${{ env.OSM_TEST_CLIENT_ID }}
# OSM_CLIENT_SECRET: ${{ env.OSM_TEST_CLIENT_SECRET }}
# OSM_SECRET_KEY: ${{ env.OSM_TEST_SECRET_KEY }}
# FRONTEND_MAIN_URL: "ui-main:8080"
# FRONTEND_MAP_URL: "ui-map:8081"
ODK_CENTRAL_URL: ${{ env.ODK_CENTRAL_URL }}
ODK_CENTRAL_USER: ${{ env.ODK_CENTRAL_USER }}
ODK_CENTRAL_PASSWD: ${{ env.ODK_CENTRAL_PASSWD }}
OSM_CLIENT_ID: ${{ env.OSM_CLIENT_ID }}
OSM_CLIENT_SECRET: ${{ env.OSM_CLIENT_SECRET }}
OSM_SECRET_KEY: ${{ env.OSM_SECRET_KEY }}
options: --user root

services:
Expand Down

0 comments on commit 4d705de

Please sign in to comment.