Skip to content

Feat/arithmetic

Feat/arithmetic #6

Workflow file for this run

name: CI
on:
push:
branches: [main, dev]
pull_request:
branches: [main, dev]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
- name: Install dependencies
run: pip install -e ".[dev]"
- name: Lint with ruff
run: ruff check .
- name: Check formatting
run: ruff format --check .
- name: Run tests with coverage
run: pytest --cov=mathlib --cov-report=term-missing