Skip to content

Feat/poetry to uv

Feat/poetry to uv #20

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
services:
redis:
image: ${{ matrix.redis-image }}
ports:
- 6379:6379
options: >-
--health-cmd "redis-cli ping"
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
matrix:
python-version: ["3.12"]
redis-version: ["latest", "8.4.0"]
include:
- redis-version: "latest"
redis-image: redis/redis-stack:latest
- redis-version: "8.4.0"
redis-image: redis:8.4.0
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Sync dependencies
run: uv sync
- name: Run tests
run: uv run test
env:
REDIS_URL: redis://localhost:6379/0