mirror of
https://github.com/lukaszraczylo/graphql-monitoring-proxy.git
synced 2026-10-22 06:38:13 +00:00
fixup! fixup! fixup! Fix: Redis connection for tests.
This commit is contained in:
@@ -43,6 +43,7 @@ jobs:
|
|||||||
name: "Unit testing"
|
name: "Unit testing"
|
||||||
# needs: [prepare]
|
# needs: [prepare]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: ubuntu-latest
|
||||||
# container: github/super-linter:v4
|
# container: github/super-linter:v4
|
||||||
needs: [prepare]
|
needs: [prepare]
|
||||||
|
|
||||||
@@ -57,6 +58,9 @@ jobs:
|
|||||||
--health-interval 10s
|
--health-interval 10s
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
ports:
|
||||||
|
# Maps the container port to the host machine
|
||||||
|
- 6379:6379
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
@@ -76,6 +80,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
REDIS_HOST: redis
|
REDIS_HOST: redis
|
||||||
REDIS_PORT: 6379
|
REDIS_PORT: 6379
|
||||||
|
REDIS_SERVER: "redis:6379"
|
||||||
run: |
|
run: |
|
||||||
export REDIS_SERVER="$REDIS_HOST:$REDIS_PORT"
|
export REDIS_SERVER="$REDIS_HOST:$REDIS_PORT"
|
||||||
CI_RUN=${CI} make test
|
CI_RUN=${CI} make test
|
||||||
|
|||||||
Reference in New Issue
Block a user