corrlib/.github/workflows/pytest.yaml
Justus Kuhlmann ca071a2e75
Some checks failed
Pytest / pytest (3.10) (push) Failing after 26s
Pytest / pytest (3.11) (push) Failing after 32s
Pytest / pytest (3.12) (push) Successful in 26s
Pytest / pytest (3.13) (push) Successful in 30s
Pytest / pytest (3.14) (push) Successful in 31s
add python version 3.10 and 3.11 to matrix, unlock
2025-12-01 17:59:56 +01:00

37 lines
814 B
YAML

name: Pytest
on:
push:
pull_request:
workflow_dispatch:
schedule:
- cron: '0 4 1 * *'
jobs:
pytest:
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
runs-on: ubuntu-latest
env:
UV_CACHE_DIR: /tmp/.uv-cache
steps:
- name: Check out the repository
uses: https://github.com/RouxAntoine/checkout@v4.1.8
with:
show-progress: true
- name: Install uv
uses: astral-sh/setup-uv@v7
with:
python-version: ${{ matrix.python-version }}
enable-cache: true
- name: Install corrlib
run: uv sync --all-extras --dev --python ${{ matrix.python-version }}
- name: Run tests
run: uv run pytest tests