trying to get it working

This commit is contained in:
Silver Ghost 2022-11-15 16:39:00 +03:00
parent cb49affc89
commit 224a951796
No known key found for this signature in database

View File

@ -8,6 +8,17 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
services:
# Label used to access the service container
redis-later42:
# 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
steps:
- name: Checkout
uses: actions/checkout@v3
@ -23,12 +34,6 @@ jobs:
pip install -r requirements.txt
pip install coverage coveralls
- name: Start Redis
uses: superchargejs/redis-github-action@1.4.0
with:
redis-version: 5
redis-container-name: redis-later42
- name: Run Tests
env:
REDIS_URL: redis://redis-later42:6379/0