hesabixArc/hesabixAPI/.github/workflows/ci.yml
2025-09-15 13:53:54 +03:30

28 lines
533 B
YAML

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install deps
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: Lint (ruff)
run: ruff check .
- name: Format check (black)
run: black --check .
- name: Type-check (mypy)
run: mypy .
- name: Tests
run: pytest -q