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
Some checks failed
CI / test (3.13) (push) Failing after 50s
This commit is contained in:
@@ -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
|
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/
|
ls -la test_cli_output/
|
||||||
cat test_cli_output/pyproject.toml
|
cat test_cli_output/pyproject.toml
|
||||||
|
|
||||||
|
- name: Clean up test files
|
||||||
|
run: |
|
||||||
|
rm -rf test_cli_output/
|
||||||
|
|
||||||
- name: Ruff (lint + format check)
|
- name: Ruff (lint + format check)
|
||||||
run: |
|
run: |
|
||||||
uv run ruff check src/ tests/
|
uv run ruff check src/ tests/
|
||||||
uv run ruff format --check src/ tests/
|
uv run ruff format --check src/ tests/
|
||||||
|
|
||||||
- name: MyPy
|
- name: MyPy
|
||||||
run: |
|
run: |
|
||||||
uv run mypy .
|
uv run mypy src/ tests/
|
||||||
- name: Pytest
|
- name: Pytest
|
||||||
run: |
|
run: |
|
||||||
uv run pytest tests/ --cov=src/quickbot_cli --cov-report=term-missing --cov-report=html -v
|
uv run pytest tests/ --cov=src/quickbot_cli --cov-report=term-missing --cov-report=html -v
|
||||||
|
|||||||
@@ -62,6 +62,12 @@ python_version = "3.13"
|
|||||||
strict = true
|
strict = true
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
warn_unused_ignores = true
|
warn_unused_ignores = true
|
||||||
|
exclude = [
|
||||||
|
"test_cli_output/",
|
||||||
|
"dist/",
|
||||||
|
".venv/",
|
||||||
|
".mypy_cache/"
|
||||||
|
]
|
||||||
|
|
||||||
[tool.hatch.version]
|
[tool.hatch.version]
|
||||||
source = "vcs"
|
source = "vcs"
|
||||||
|
|||||||
@@ -37,5 +37,6 @@ cat test_cli_output/pyproject.toml
|
|||||||
|
|
||||||
echo "🧹 Cleaning up..."
|
echo "🧹 Cleaning up..."
|
||||||
rm -rf test_cli_output
|
rm -rf test_cli_output
|
||||||
|
rm -rf dist/*
|
||||||
|
|
||||||
echo "✅ All CI workflow steps passed locally!"
|
echo "✅ All CI workflow steps passed locally!"
|
||||||
|
|||||||
Reference in New Issue
Block a user