chore(deps): update dependency redis to v5.2.0 #784
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test run | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
test: | |
# Linux runner | |
runs-on: ubuntu-latest | |
# Container image that the job will run in | |
container: python:3.10 | |
# Service containers | |
services: | |
redis: | |
image: redis | |
options: >- | |
--health-cmd "redis-cli ping" | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Install requirements (ffmpeg) | |
run: | | |
apt-get update | |
apt-get install -y ffmpeg | |
- name: Test with pytest | |
run: | | |
pytest |