Skip to content

Commit

Permalink
add redis to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rawxfish committed Dec 31, 2024
1 parent 8a3c31f commit 4cf4295
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/pre-submit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ jobs:
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
redis:
# Docker Hub image
image: redis
# Set health checks to wait until redis has started
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2

Expand Down

0 comments on commit 4cf4295

Please sign in to comment.