Skip to content

Add mypy type checking to pre-commit hooks #19

Add mypy type checking to pre-commit hooks

Add mypy type checking to pre-commit hooks #19

Workflow file for this run

name: Test WorkFlow
on:
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v6
- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: 🔧 Set up uv
uses: astral-sh/setup-uv@v7
- name: 🦾 Install dependencies
run: uv sync --dev
- name: 🧪 Test
run: uv run pytest test/ src/