Skip to content

Commit

Permalink
redis in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SilvyPuzzlewell authored Aug 30, 2023
1 parent 16a1028 commit a558e25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ on: [ push ]
jobs:
build:
runs-on: ubuntu-latest
services:
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
strategy:
matrix:
python-version: [ "3.9", "3.10" ]
Expand Down

0 comments on commit a558e25

Please sign in to comment.