Skip to content

docs: add MIT license, contributing guide, and improve README #10

docs: add MIT license, contributing guide, and improve README

docs: add MIT license, contributing guide, and improve README #10

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- name: Install dependencies
run: uv sync --group dev
- name: Ruff check
run: uv run ruff check .
- name: Ruff format check
run: uv run ruff format --check .
- name: Type check with ty
run: uv run ty check
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v6
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --group dev
- name: Run tests
run: uv run pytest tests/ -v --cov-fail-under=90
- name: Run doctests
run: uv run pytest --doctest-modules data_structures/ algorithms/ --no-cov