Skip to content

fix(ci): restore pytest execution #108

fix(ci): restore pytest execution

fix(ci): restore pytest execution #108

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: |
pip config set global.retries 5 || true
pip install -e ".[dev]"
- name: Lint with ruff
run: ruff check src/ tests/
- name: Run tests
run: python -m pytest tests/ -v --tb=short