Skip to content

CI Improvements

CI Improvements #3

name: Redis Daily Version Check
on:
workflow_dispatch:
pull_request:
branches:
- master
- '[0-9].[0-9]'
push:
branches:
- master
- '[0-9].[0-9]'
schedule:
- cron: '0 3 * * *'
jobs:
sanity_test_redis:
name: Redis ${{matrix.redis}} Sanity Test
services:
image: redis:${{matrix.redis}}
ports:
- 6379:6379

Check failure on line 26 in .github/workflows/redis_version_check.yaml

View workflow run for this annotation

GitHub Actions / Redis Daily Version Check

Invalid workflow file

The workflow is not valid. .github/workflows/redis_version_check.yaml (Line: 26, Col: 9): A sequence was not expected
runs-on: ubuntu-latest
strategy:
matrix:
redis: ['5.0.14', '6.0', '6.2', '7.0', '7.2-rc']
python-version: ['3.11']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
- name: install dependencies
run: |
pip install -U setuptools wheel
pip install -r dev_requirements.txt
- name: run tests
run: |
pytest -m 'not onlycluster and not redismod'