Skip to content

Try with older python #2

Try with older python

Try with older python #2

Workflow file for this run

name: Tests
on:
push:
pull_request:
branches: [ main ]
jobs:
test:
name: redis ${{ matrix.redis-version }}
runs-on: ubuntu-latest
strategy:
matrix:
redis-version: [6, 7, '7.2', '7.4']
services:
redis:
image: redis:${{ matrix.redis-version }}
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '2.7'
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run tests
run: make test