Минимальный workflow: on push/PR → runs-on ubuntu-latest → uses actions/checkout → actions/setup-python@v5 with python-version 3.12 → pip install -r requirements.txt → pytest. Добавь: pip install ruff mypy → ruff check → mypy. Кэш: actions/cache с key hashFiles("requirements.txt"). Upload coverage: codecov/codecov-action. Deploy: if github.ref == refs/heads/main. Secrets в Settings → Secrets. concurrency — отменять старые запуски. timeout-minutes для защиты от зависших тестов.
Как настроить GitHub Actions для Python?
Middle
257 просмотровAFK Offer AI
Что такое Clean Architecture в контексте Python?