Add CI pipeline for variant 5
This commit is contained in:
14
README.md
Normal file
14
README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
# Лабораторная работа: CI с GitHub Actions
|
||||
|
||||
Вариант 5: Python + ruff + pytest-cov + poetry build.
|
||||
|
||||
## Этапы CI
|
||||
1. Lint — проверка кода через ruff.
|
||||
2. Test — запуск тестов через pytest-cov.
|
||||
3. Build — сборка проекта через poetry build.
|
||||
|
||||
## Запуск
|
||||
poetry install --no-interaction
|
||||
poetry run ruff check .
|
||||
poetry run pytest
|
||||
poetry build
|
||||
Reference in New Issue
Block a user