Watch
1
0
Fork
You've already forked Seyyed_arc
0
forked from hesabix/arc
Seyyed_arc/hesabixAPI/.github/workflows/ci.yml
2026-04-14 19:34:55 +03:30

27 lines
533 B
YAML
Executable file

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