Skip to content

...

... #156

Workflow file for this run

name: run_tests
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
tests:
name: tests
strategy:
matrix:
python: ['3.13', '3.14', '3.14t']
include:
# Beta: advisory, never blocks merges.
- python: '3.15'
experimental: true
fail-fast: false
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental || false }}
services:
redis:
image: redis
ports:
- 6379:6379
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install system dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install -y libvips-dev
- name: "Installs dependencies"
run: uv sync --group test --python ${{ matrix.python }}
- name: "Test"
run: make test