Skip to content

refactor: add tests for pagination and players resource #9

refactor: add tests for pagination and players resource

refactor: add tests for pagination and players resource #9

Workflow file for this run

name: CI
on:
push:
branches: ["main"]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.12", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Set up Python
run: uv python install ${{ matrix.python-version }}
- name: Sync dependencies (dev)
run: uv sync --group dev --python ${{ matrix.python-version }}
- name: Ruff (lint)
run: uv run ruff check .
- name: Ruff (format)
run: uv run ruff format --check .
- name: Pytest
run: uv run pytest -q
- name: Mypy
run: uv run mypy src --pretty