mirror of
https://github.com/EDeev/declaude.git
synced 2026-10-07 20:49:57 +03:00
25 lines
561 B
YAML
25 lines
561 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- run: pip install -e . -r requirements-dev.txt
|
|
- name: Ruff
|
|
run: ruff check .
|
|
- name: Тесты
|
|
run: pytest -q
|
|
- name: Сборка пакета
|
|
run: python -m build
|