chore: update CI workflow to include cleanup steps and refine MyPy checks for specific directories
Some checks failed
CI / test (3.13) (push) Failing after 50s

This commit is contained in:
Alexander Kalinovsky
2025-08-27 19:59:52 +03:00
parent 1fa3cbbe1d
commit eef69f32c7
3 changed files with 14 additions and 1 deletions

View File

@@ -64,13 +64,19 @@ jobs:
uv run quickbot init --output test_cli_output --project-name "CI Test" --description "Test Description" --author "CI" --license-name MIT --no-include-alembic --no-include-i18n --no-interactive
ls -la test_cli_output/
cat test_cli_output/pyproject.toml
- name: Clean up test files
run: |
rm -rf test_cli_output/
- name: Ruff (lint + format check)
run: |
uv run ruff check src/ tests/
uv run ruff format --check src/ tests/
- name: MyPy
run: |
uv run mypy .
uv run mypy src/ tests/
- name: Pytest
run: |
uv run pytest tests/ --cov=src/quickbot_cli --cov-report=term-missing --cov-report=html -v

View File

@@ -62,6 +62,12 @@ python_version = "3.13"
strict = true
ignore_missing_imports = true
warn_unused_ignores = true
exclude = [
"test_cli_output/",
"dist/",
".venv/",
".mypy_cache/"
]
[tool.hatch.version]
source = "vcs"

View File

@@ -37,5 +37,6 @@ cat test_cli_output/pyproject.toml
echo "🧹 Cleaning up..."
rm -rf test_cli_output
rm -rf dist/*
echo "✅ All CI workflow steps passed locally!"