Skip to content

Commit

Permalink
Pass env explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Jan 30, 2024
1 parent 8951342 commit 11cfa6e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,14 +188,15 @@ jobs:

- name: Run container
env:
KINTO_CACHE_URL: "postgresql://postgres:postgres@postgres/testdb"
KINTO_STORAGE_URL: "postgresql://postgres:postgres@postgres/testdb"
KINTO_PERMISSION_URL: "postgresql://postgres:postgres@postgres/testdb"
POSTGRESQL_DSN: "postgresql://postgres:postgres@postgres/testdb"
run: |
docker run --rm \
-p 8888:8888 \
-v `pwd`/tests/functional.ini:/etc/functional.ini \
-e KINTO_INI=/etc/functional.ini \
-e KINTO_CACHE_URL=$POSTGRESQL_DSN \
-e KINTO_STORAGE_URL=$POSTGRESQL_DSN \
-e KINTO_PERMISSION_URL=$POSTGRESQL_DSN \
${{ env.TEST_TAG }} && sleep 5
- name: Functional Tests
Expand Down

0 comments on commit 11cfa6e

Please sign in to comment.