Skip to content

Commit

Permalink
fixup! fixup! fixup! Fix: Redis connection for tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszraczylo committed Jun 11, 2024
1 parent d051722 commit 32eef4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
name: "Unit testing"
# needs: [prepare]
runs-on: ubuntu-latest
container: ubuntu-latest
# container: github/super-linter:v4
needs: [prepare]

Expand All @@ -57,6 +58,9 @@ jobs:
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps the container port to the host machine
- 6379:6379

steps:
- name: Checkout repository
Expand All @@ -76,6 +80,7 @@ jobs:
env:
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_SERVER: "redis:6379"
run: |
export REDIS_SERVER="$REDIS_HOST:$REDIS_PORT"
CI_RUN=${CI} make test

0 comments on commit 32eef4a

Please sign in to comment.