ci: enforce mypy type checking (all errors fixed)
Some checks failed
CI / Lint & Format (push) Failing after 16s
CI / Unit Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Security Scan (push) Failing after 21s
CI / Security Tests (push) Has been skipped
Some checks failed
CI / Lint & Format (push) Failing after 16s
CI / Unit Tests (push) Has been skipped
CI / Memory Leak Check (push) Has been skipped
CI / SBOM Generation (push) Has been skipped
CI / Security Scan (push) Failing after 21s
CI / Security Tests (push) Has been skipped
This commit is contained in:
@@ -41,14 +41,8 @@ jobs:
|
||||
- name: Ruff format
|
||||
run: ruff format --check app/ tests/ fpaste
|
||||
|
||||
- name: Type check (informational)
|
||||
run: |
|
||||
errors=$(mypy app/ --ignore-missing-imports 2>&1 | grep -c "error:" || true)
|
||||
echo "mypy found $errors type errors"
|
||||
if [ "$errors" -gt 20 ]; then
|
||||
echo "::warning::mypy errors increased to $errors (baseline: 20)"
|
||||
fi
|
||||
continue-on-error: true
|
||||
- name: Type check
|
||||
run: mypy app/ tests/ fpaste --ignore-missing-imports
|
||||
|
||||
security:
|
||||
name: Security Scan
|
||||
|
||||
Reference in New Issue
Block a user